public class Resolver extends Resolver
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. |
protected javax.management.remote.rmi.RMIServerImpl |
createRMIServer(javax.management.remote.JMXServiceURL url,
java.util.Map environment) |
protected javax.management.remote.rmi.RMIServer |
decodeStub(javax.management.remote.JMXServiceURL url,
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 |
encodeStub(javax.management.remote.rmi.RMIServerImpl rmiServer,
java.util.Map environment) |
protected boolean |
isEncodedForm(javax.management.remote.JMXServiceURL url) |
protected javax.management.remote.rmi.RMIServer |
narrowRMIServerStub(java.lang.Object stub) |
createServer, lookupClient, lookupRMIServerStub, unbindServer
newConnectionResolver
constructClassName, findSystemPackageList, getLogger, loadClass, normalizeProtocol
protected javax.management.remote.rmi.RMIServer decodeStub(javax.management.remote.JMXServiceURL url, java.util.Map environment) throws java.io.IOException
decodeStub
in class Resolver
java.io.IOException
protected javax.management.remote.rmi.RMIServer narrowRMIServerStub(java.lang.Object stub)
narrowRMIServerStub
in class Resolver
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 Resolver
java.io.IOException
protected javax.management.remote.rmi.RMIServerImpl createRMIServer(javax.management.remote.JMXServiceURL url, java.util.Map environment) throws java.io.IOException
createRMIServer
in class Resolver
java.io.IOException
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 Resolver
java.io.IOException
ConnectionResolver.unbindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)
protected java.lang.String encodeStub(javax.management.remote.rmi.RMIServerImpl rmiServer, java.util.Map environment) throws java.io.IOException
encodeStub
in class Resolver
java.io.IOException
protected boolean isEncodedForm(javax.management.remote.JMXServiceURL url)
isEncodedForm
in class Resolver
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 Resolver
java.io.IOException
ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map)