public abstract class HTTPResolver extends ConnectionResolver
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_WEB_CONTAINER_CLASS |
| Constructor and Description |
|---|
HTTPResolver() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
bindClient(java.lang.Object client,
java.util.Map environment)
Connects the client returned by
ConnectionResolver.lookupClient(javax.management.remote.JMXServiceURL, java.util.Map) to the server side. |
javax.management.remote.JMXServiceURL |
bindServer(java.lang.Object server,
javax.management.remote.JMXServiceURL url,
java.util.Map environment)
Binds the server created by
ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map) to a place specified by the JMXServiceURL. |
java.lang.Object |
createServer(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
Creates an instance of the server as specified in the given JMXServiceURL.
|
protected WebContainer |
createWebContainer(javax.management.remote.JMXServiceURL url,
java.lang.String webContainerClassName,
java.util.Map environment) |
protected void |
deploy(javax.management.remote.JMXServiceURL address,
java.util.Map environment) |
void |
destroyServer(java.lang.Object server,
javax.management.remote.JMXServiceURL url,
java.util.Map environment)
Destroys the server created by
ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map), by cleaning up resources it may have requested
at creation time |
protected java.lang.String |
getEndpoint(javax.management.remote.JMXServiceURL address,
java.util.Map environment) |
protected java.lang.String |
getEndpointProtocol(java.util.Map environment) |
protected abstract java.lang.String |
getServletClassName() |
void |
unbindServer(java.lang.Object server,
javax.management.remote.JMXServiceURL address,
java.util.Map environment)
Unbinds the server bound by
ConnectionResolver.bindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map) from the place specified by the JMXServiceURL. |
protected void |
undeploy(javax.management.remote.JMXServiceURL address,
java.util.Map environment) |
lookupClient, newConnectionResolverconstructClassName, findSystemPackageList, getLogger, loadClass, normalizeProtocolprotected static final java.lang.String DEFAULT_WEB_CONTAINER_CLASS
public java.lang.Object bindClient(java.lang.Object client,
java.util.Map environment)
throws java.io.IOException
ConnectionResolverConnectionResolver.lookupClient(javax.management.remote.JMXServiceURL, java.util.Map) to the server side.bindClient in class ConnectionResolverjava.io.IOExceptionprotected java.lang.String getEndpoint(javax.management.remote.JMXServiceURL address,
java.util.Map environment)
protected java.lang.String getEndpointProtocol(java.util.Map environment)
public java.lang.Object createServer(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
ConnectionResolverJMXConnectorServerMBean.start().createServer in class ConnectionResolverjava.io.IOExceptionConnectionResolver.bindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map),
ConnectionResolver.destroyServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)public javax.management.remote.JMXServiceURL bindServer(java.lang.Object server,
javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
ConnectionResolverConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map) to a place specified by the JMXServiceURL.bindServer in class ConnectionResolverjava.io.IOExceptionConnectionResolver.unbindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)protected abstract java.lang.String getServletClassName()
protected void deploy(javax.management.remote.JMXServiceURL address,
java.util.Map environment)
throws java.io.IOException
java.io.IOExceptionpublic void unbindServer(java.lang.Object server,
javax.management.remote.JMXServiceURL address,
java.util.Map environment)
throws java.io.IOException
ConnectionResolverConnectionResolver.bindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map) from the place specified by the JMXServiceURL.unbindServer in class ConnectionResolverjava.io.IOExceptionConnectionResolver.destroyServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)protected void undeploy(javax.management.remote.JMXServiceURL address,
java.util.Map environment)
throws java.io.IOException
java.io.IOExceptionpublic void destroyServer(java.lang.Object server,
javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
ConnectionResolverConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map), by cleaning up resources it may have requested
at creation timedestroyServer in class ConnectionResolverjava.io.IOExceptionConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map)protected WebContainer createWebContainer(javax.management.remote.JMXServiceURL url, java.lang.String webContainerClassName, java.util.Map environment)