public static class JMXServerUtils.JmxRegistry
extends sun.rmi.registry.RegistryImpl
Constructor and Description |
---|
JmxRegistry(int port,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf,
java.lang.String lookupName) |
Modifier and Type | Method and Description |
---|---|
void |
bind(java.lang.String s,
java.rmi.Remote remote) |
void |
close()
Closes the underlying JMX registry by unexporting this instance.
|
java.lang.String[] |
list() |
java.rmi.Remote |
lookup(java.lang.String s) |
void |
rebind(java.lang.String s,
java.rmi.Remote remote) |
void |
setRemoteServerStub(java.rmi.Remote remoteServerStub) |
void |
unbind(java.lang.String s) |
public JmxRegistry(int port, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf, java.lang.String lookupName) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.rmi.Remote lookup(java.lang.String s) throws java.rmi.RemoteException, java.rmi.NotBoundException
lookup
in interface java.rmi.registry.Registry
lookup
in class sun.rmi.registry.RegistryImpl
java.rmi.RemoteException
java.rmi.NotBoundException
public void bind(java.lang.String s, java.rmi.Remote remote) throws java.rmi.RemoteException, java.rmi.AlreadyBoundException, java.rmi.AccessException
bind
in interface java.rmi.registry.Registry
bind
in class sun.rmi.registry.RegistryImpl
java.rmi.RemoteException
java.rmi.AlreadyBoundException
java.rmi.AccessException
public void unbind(java.lang.String s) throws java.rmi.RemoteException, java.rmi.NotBoundException, java.rmi.AccessException
unbind
in interface java.rmi.registry.Registry
unbind
in class sun.rmi.registry.RegistryImpl
java.rmi.RemoteException
java.rmi.NotBoundException
java.rmi.AccessException
public void rebind(java.lang.String s, java.rmi.Remote remote) throws java.rmi.RemoteException, java.rmi.AccessException
rebind
in interface java.rmi.registry.Registry
rebind
in class sun.rmi.registry.RegistryImpl
java.rmi.RemoteException
java.rmi.AccessException
public java.lang.String[] list() throws java.rmi.RemoteException
list
in interface java.rmi.registry.Registry
list
in class sun.rmi.registry.RegistryImpl
java.rmi.RemoteException
public void setRemoteServerStub(java.rmi.Remote remoteServerStub)
public void close()
Copyright © 2009- The Apache Software Foundation