1 8 9 package test.mx4j.tools.remote.soap; 10 11 import java.io.IOException ; 12 import java.net.MalformedURLException ; 13 import java.util.HashMap ; 14 import java.util.Map ; 15 16 import javax.management.remote.JMXServiceURL ; 17 18 import org.apache.axis.AxisFault; 19 import test.javax.management.remote.JMXConnectorTestCase; 20 21 24 public class SOAPConnectorTest extends JMXConnectorTestCase 25 { 26 public SOAPConnectorTest(String name) 27 { 28 super(name); 29 } 30 31 public JMXServiceURL createJMXConnectorServerAddress() throws MalformedURLException 32 { 33 return new JMXServiceURL ("soap", null, 8080, "/soap"); 34 } 35 36 public Map getEnvironment() 37 { 38 return new HashMap (); 39 } 40 41 45 protected void testJMXAuthenticatorConnect(JMXServiceURL url, Map environment) throws SecurityException , IOException 46 { 47 try 48 { 49 super.testJMXAuthenticatorConnect(url, environment); 50 } 51 catch (AxisFault x) 52 { 53 String name = x.getFaultString(); 54 if (name.startsWith(SecurityException .class.getName())) throw new SecurityException (); 55 throw x; 56 } 57 } 58 59 63 public void testDefaultClassLoader() throws Exception 64 { 65 } 67 68 public void testConnectWithProviderClassLoader() throws Exception 69 { 70 } 72 } 73 | Popular Tags |