Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
mx4j.remote.ProviderHelper
mx4j.remote.ConnectionResolver
mx4j.remote.resolver.rmi.Resolver
mx4j.remote.resolver.iiop.Resolver
public class Resolver
extends Resolver
Method Summary | |
Object |
|
javax.management.remote.JMXServiceURL |
|
protected javax.management.remote.rmi.RMIServerImpl |
|
protected javax.management.remote.rmi.RMIServer |
|
void |
|
protected String |
|
protected boolean |
|
protected javax.management.remote.rmi.RMIServer |
|
protected javax.management.remote.rmi.RMIServer |
|
Methods inherited from class mx4j.remote.resolver.rmi.Resolver | |
bindClient , bindServer , createRMIServer , createServer , decodeStub , destroyServer , encodeStub , isEncodedForm , lookupClient , lookupRMIServerStub , lookupStubInJNDI , narrowRMIServerStub , unbindServer |
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 IOException
Connects the client returned byConnectionResolver.lookupClient(JMXServiceURL,Map)
to the server side.
- Overrides:
- bindClient in interface Resolver
- 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 IOException
Binds the server created byConnectionResolver.createServer(JMXServiceURL,Map)
to a place specified by the JMXServiceURL.
- Overrides:
- bindServer in interface Resolver
- Returns:
- a new JMXServiceURL that specifies where the server has been bound to.
protected javax.management.remote.rmi.RMIServerImpl createRMIServer(javax.management.remote.JMXServiceURL url, Map environment) throws IOException
- Overrides:
- createRMIServer in interface Resolver
protected javax.management.remote.rmi.RMIServer decodeStub(javax.management.remote.JMXServiceURL url, Map environment) throws IOException
- Overrides:
- decodeStub in interface Resolver
public void destroyServer(Object server, javax.management.remote.JMXServiceURL url, Map environment) throws IOException
Destroys the server created byConnectionResolver.createServer(JMXServiceURL,Map)
, by cleaning up resources it may have requested at creation time
- Overrides:
- destroyServer in interface Resolver
protected String encodeStub(javax.management.remote.rmi.RMIServerImpl rmiServer, Map environment) throws IOException
- Overrides:
- encodeStub in interface Resolver
protected boolean isEncodedForm(javax.management.remote.JMXServiceURL url)
- Overrides:
- isEncodedForm in interface Resolver
protected javax.management.remote.rmi.RMIServer lookupStubInJNDI(javax.management.remote.JMXServiceURL url, Map environment) throws IOException
- Overrides:
- lookupStubInJNDI in interface Resolver
protected javax.management.remote.rmi.RMIServer narrowRMIServerStub(Object stub)
- Overrides:
- narrowRMIServerStub in interface Resolver