public class Resolver extends ConnectionResolver
Constructor and Description |
---|
Resolver() |
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.
|
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 |
java.lang.Object |
lookupClient(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
Looks up a connection with the server side as specified in the given JMXServiceURL.
|
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. |
newConnectionResolver
constructClassName, findSystemPackageList, getLogger, loadClass, normalizeProtocol
public java.lang.Object createServer(javax.management.remote.JMXServiceURL url, java.util.Map environment) throws java.io.IOException
ConnectionResolver
JMXConnectorServerMBean.start()
.createServer
in class ConnectionResolver
java.io.IOException
ConnectionResolver.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
ConnectionResolver
ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map)
to a place specified by the JMXServiceURL.bindServer
in class ConnectionResolver
java.io.IOException
ConnectionResolver.unbindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)
public void unbindServer(java.lang.Object server, javax.management.remote.JMXServiceURL address, java.util.Map environment) throws java.io.IOException
ConnectionResolver
ConnectionResolver.bindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)
from the place specified by the JMXServiceURL.unbindServer
in class ConnectionResolver
java.io.IOException
ConnectionResolver.destroyServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)
public void destroyServer(java.lang.Object server, javax.management.remote.JMXServiceURL url, java.util.Map environment) throws java.io.IOException
ConnectionResolver
ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map)
, by cleaning up resources it may have requested
at creation timedestroyServer
in class ConnectionResolver
java.io.IOException
ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map)
public java.lang.Object lookupClient(javax.management.remote.JMXServiceURL url, java.util.Map environment) throws java.io.IOException
ConnectionResolver
JMXConnector.connect()
.lookupClient
in class ConnectionResolver
java.io.IOException
ConnectionResolver.bindClient(java.lang.Object, java.util.Map)
public java.lang.Object bindClient(java.lang.Object client, java.util.Map environment) throws java.io.IOException
ConnectionResolver
ConnectionResolver.lookupClient(javax.management.remote.JMXServiceURL, java.util.Map)
to the server side.bindClient
in class ConnectionResolver
java.io.IOException