|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmx4j.remote.ProviderHelper
mx4j.remote.ConnectionResolver
mx4j.remote.resolver.rmi.Resolver
Resolver for RMI/JRMP protocol.
| Constructor Summary | |
Resolver()
|
|
| Method Summary | |
java.lang.Object |
bindClient(java.lang.Object client,
java.util.Map environment)
Connects the client returned by 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 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)
|
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 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 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)
|
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. |
protected javax.management.remote.rmi.RMIServer |
lookupRMIServerStub(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
|
protected javax.management.remote.rmi.RMIServer |
narrowRMIServerStub(java.lang.Object stub)
|
void |
unbindServer(java.lang.Object server,
javax.management.remote.JMXServiceURL url,
java.util.Map environment)
Unbinds the server bound by bindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map) from the place specified by the JMXServiceURL. |
| Methods inherited from class mx4j.remote.ConnectionResolver |
newConnectionResolver |
| Methods inherited from class mx4j.remote.ProviderHelper |
constructClassName, findSystemPackageList, getLogger, loadClass, normalizeProtocol |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Resolver()
| Method Detail |
public java.lang.Object lookupClient(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
ConnectionResolverJMXConnector.connect().
lookupClient in class ConnectionResolverjava.io.IOExceptionConnectionResolver.bindClient(java.lang.Object, java.util.Map)
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.IOException
protected javax.management.remote.rmi.RMIServer lookupRMIServerStub(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
java.io.IOExceptionprotected javax.management.remote.rmi.RMIServer narrowRMIServerStub(java.lang.Object stub)
protected javax.management.remote.rmi.RMIServer decodeStub(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
java.io.IOException
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)
protected javax.management.remote.rmi.RMIServerImpl createRMIServer(javax.management.remote.JMXServiceURL url,
java.util.Map environment)
throws java.io.IOException
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
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 java.lang.String encodeStub(javax.management.remote.rmi.RMIServerImpl rmiServer,
java.util.Map environment)
throws java.io.IOException
java.io.IOExceptionprotected boolean isEncodedForm(javax.management.remote.JMXServiceURL url)
public void unbindServer(java.lang.Object server,
javax.management.remote.JMXServiceURL url,
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)
public 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 time
destroyServer in class ConnectionResolverjava.io.IOExceptionConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||