|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.remoting.MBeanServerLocator
public class MBeanServerLocator
MBeanServerLocator is an object that is used to identify and locate an MBeanServer on the network via JMX Remoting.
The MBeanServerLocator can be serialized and passed across the network, as long as the target server has access back to the MBeanServer via JMX Remoting Connector and has been detected by a JMX Remoting Detector.
Field Summary | |
---|---|
protected MBeanServer |
server
|
Constructor Summary | |
---|---|
MBeanServerLocator(org.jboss.remoting.ident.Identity identity)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
InetAddress |
getAddress()
return the InetAddress for the MBeanServer |
org.jboss.remoting.ident.Identity |
getIdentity()
return the identity of the server |
String |
getInstanceId()
return the MBeanServer InstanceID |
MBeanServer |
getMBeanServer()
return a proxy to the MBeanServer |
String |
getServerId()
return the MBeanServer ID |
int |
hashCode()
|
protected MBeanServer |
resolveServer()
try and resolve the serverid to a MBeanServer instance or proxy to a remote server |
void |
setAutoLocate(boolean autoLocate)
set true (default) to automatically locate the appropriate MBeanServer on deserialization or false to only locate on demand to the call to getMBeanServer. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected transient MBeanServer server
Constructor Detail |
---|
public MBeanServerLocator(org.jboss.remoting.ident.Identity identity)
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public String getServerId()
public final org.jboss.remoting.ident.Identity getIdentity()
public String getInstanceId()
public InetAddress getAddress()
public MBeanServer getMBeanServer()
protected MBeanServer resolveServer() throws org.jboss.remoting.ConnectionFailedException
org.jboss.remoting.ConnectionFailedException
public void setAutoLocate(boolean autoLocate)
autoLocate
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |