| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectmx4j.remote.ProviderHelpermx4j.remote.ConnectionResolvermx4j.tools.remote.http.HTTPResolverpublic abstract class HTTPResolverextends ConnectionResolverField Summary | |
protected static String | |
Method Summary | |
Object |
|
javax.management.remote.JMXServiceURL |
|
Object |
|
protected WebContainer |
|
protected void |
|
void |
|
protected String |
|
protected String |
|
protected abstract String | |
void |
|
protected void |
|
Methods inherited from class mx4j.remote.ConnectionResolver | |
bindClient, bindServer, createServer, destroyServer, lookupClient, newConnectionResolver, unbindServer | |
Methods inherited from class mx4j.remote.ProviderHelper | |
constructClassName, findSystemPackageList, getLogger, loadClass, normalizeProtocol | |
public Object bindClient(Object client,
Map environment)
throws IOExceptionConnects the client returned byConnectionResolver.lookupClient(JMXServiceURL,Map)to the server side.
- Overrides:
- bindClient in interface ConnectionResolver
- Returns:
- An object of the same type as the client passed in; normally the client object itself
public javax.management.remote.JMXServiceURL bindServer(Object server,
javax.management.remote.JMXServiceURL url,
Map environment)
throws IOExceptionBinds the server created byConnectionResolver.createServer(JMXServiceURL,Map)to a place specified by the JMXServiceURL.
- Overrides:
- bindServer in interface ConnectionResolver
- Returns:
- a new JMXServiceURL that specifies where the server has been bound to.
public Object createServer(javax.management.remote.JMXServiceURL url,
Map environment)
throws IOExceptionCreates an instance of the server as specified in the given JMXServiceURL. It is only a factory method, it should just return a fresh instance of the server; other methods are responsible to make it available to clients (for example exporting it). This method is used in implementations ofjavax.management.remote.JMXConnectorServer.start.
- Overrides:
- createServer in interface ConnectionResolver
protected WebContainer createWebContainer(javax.management.remote.JMXServiceURL url, String webContainerClassName, Map environment)
protected void deploy(javax.management.remote.JMXServiceURL address,
Map environment)
throws IOExceptionpublic void destroyServer(Object server,
javax.management.remote.JMXServiceURL url,
Map environment)
throws IOExceptionDestroys the server created byConnectionResolver.createServer(JMXServiceURL,Map), by cleaning up resources it may have requested at creation time
- Overrides:
- destroyServer in interface ConnectionResolver
protected String getEndpoint(javax.management.remote.JMXServiceURL address,
Map environment)protected String getEndpointProtocol(Map environment)
protected abstract String getServletClassName()
public void unbindServer(Object server,
javax.management.remote.JMXServiceURL address,
Map environment)
throws IOExceptionUnbinds the server bound byConnectionResolver.bindServer(Object,JMXServiceURL,Map)from the place specified by the JMXServiceURL.
- Overrides:
- unbindServer in interface ConnectionResolver
protected void undeploy(javax.management.remote.JMXServiceURL address,
Map environment)
throws IOException