KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > mx4j > tools > remote > hessian > HessianConnectorTest


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package test.mx4j.tools.remote.hessian;
10
11 import java.net.MalformedURLException JavaDoc;
12 import java.util.HashMap JavaDoc;
13 import java.util.Map JavaDoc;
14 import javax.management.remote.JMXServiceURL JavaDoc;
15
16 import test.javax.management.remote.JMXConnectorTestCase;
17
18 /**
19  * @version $
20  */

21 public class HessianConnectorTest extends JMXConnectorTestCase
22 {
23    public HessianConnectorTest(String JavaDoc name)
24    {
25       super(name);
26    }
27
28    public JMXServiceURL JavaDoc createJMXConnectorServerAddress() throws MalformedURLException JavaDoc
29    {
30       return new JMXServiceURL JavaDoc("hessian", null, 8080, "/hessian");
31    }
32
33    public Map JavaDoc getEnvironment()
34    {
35       return new HashMap JavaDoc();
36    }
37
38    public void testDefaultClassLoader() throws Exception JavaDoc
39    {
40       // No classloading magic is performed by the burlap protocol
41
}
42
43    public void testConnectWithProviderClassLoader() throws Exception JavaDoc
44    {
45       // No classloading magic is performed by the burlap protocol
46
}
47 }
48
Popular Tags