|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.ProviderHelper
org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.ConnectionResolver
org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.resolver.rmi.RMIResolver
public class RMIResolver
Resolver for RMI/JRMP protocol.
Constructor Summary | |
---|---|
RMIResolver()
|
Method Summary | |
---|---|
Object |
bindClient(Object client,
Map environment)
Connects the client returned by ConnectionResolver.lookupClient(javax.management.remote.JMXServiceURL, java.util.Map) to the server side |
JMXServiceURL |
bindServer(Object server,
JMXServiceURL url,
Map environment)
Binds the server created by ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map) to a place specified in the JMXServiceURL. |
protected RMIServerImpl |
createRMIServer(JMXServiceURL url,
Map environment)
|
Object |
createServer(JMXServiceURL url,
Map environment)
Creates an instance of the server as specified in the given JMXServiceURL. |
protected RMIServer |
decodeStub(JMXServiceURL url,
Map environment)
|
protected void |
destroyServer(Object server,
Map environment)
|
protected String |
encodeStub(RMIServerImpl rmiServer,
Map environment)
|
protected boolean |
isEncodedForm(JMXServiceURL url)
|
Object |
lookupClient(JMXServiceURL url,
Map environment)
Looks up a connection to the server side as specified in the given JMXServiceURL. |
protected RMIServer |
lookupRMIServerStub(JMXServiceURL url,
Map environment)
|
protected RMIServer |
narrowRMIServerStub(Object stub)
|
void |
unbindServer(Object server,
JMXServiceURL url,
Map environment)
Unbinds the server created by ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map) from the place specified in the JMXServiceURL. |
Methods inherited from class org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.ConnectionResolver |
---|
getInstance |
Methods inherited from class org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.ProviderHelper |
---|
constructClassName, findSystemPackageList, loadClass, normalizeProtocol |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMIResolver()
Method Detail |
---|
public Object lookupClient(JMXServiceURL url, Map environment) throws IOException
ConnectionResolver
JMXConnector
s.
lookupClient
in class ConnectionResolver
IOException
public Object bindClient(Object client, Map environment) throws IOException
ConnectionResolver
ConnectionResolver.lookupClient(javax.management.remote.JMXServiceURL, java.util.Map)
to the server side
bindClient
in class ConnectionResolver
IOException
protected RMIServer lookupRMIServerStub(JMXServiceURL url, Map environment) throws IOException
IOException
protected RMIServer narrowRMIServerStub(Object stub)
protected RMIServer decodeStub(JMXServiceURL url, Map environment) throws IOException
IOException
public Object createServer(JMXServiceURL url, Map environment) throws IOException
ConnectionResolver
JMXConnectorServer
s.
createServer
in class ConnectionResolver
IOException
ConnectionResolver.bindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)
protected RMIServerImpl createRMIServer(JMXServiceURL url, Map environment) throws IOException
IOException
public JMXServiceURL bindServer(Object server, JMXServiceURL url, Map environment) throws IOException
ConnectionResolver
ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map)
to a place specified in the JMXServiceURL.
bindServer
in class ConnectionResolver
IOException
ConnectionResolver.unbindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)
protected String encodeStub(RMIServerImpl rmiServer, Map environment) throws IOException
IOException
protected boolean isEncodedForm(JMXServiceURL url)
public void unbindServer(Object server, JMXServiceURL url, Map environment) throws IOException
ConnectionResolver
ConnectionResolver.createServer(javax.management.remote.JMXServiceURL, java.util.Map)
from the place specified in the JMXServiceURL.
unbindServer
in class ConnectionResolver
IOException
ConnectionResolver.bindServer(java.lang.Object, javax.management.remote.JMXServiceURL, java.util.Map)
protected void destroyServer(Object server, Map environment) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |