|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.MBeanProxy
Proxy
Constructor Summary | |
MBeanProxy()
|
Method Summary | |
static java.lang.Object |
create(java.lang.Class instance,
java.lang.Class intrface,
ObjectName (src) name,
MBeanServer (src) server)
Convenience method for registering an MBean and retrieving a proxy for it. |
static java.lang.Object |
create(java.lang.Class instance,
java.lang.Class intrface,
ObjectName (src) name,
java.lang.String agentID)
Convenience method for registering an MBean and retrieving a proxy for it. |
static java.lang.Object |
get(java.lang.Class intrface,
ObjectName (src) name,
MBeanServer (src) server)
Creates a proxy to an MBean in the given MBean server. |
static java.lang.Object |
get(java.lang.Class intrface,
ObjectName (src) name,
java.lang.String agentID)
Creates a proxy to an MBean in the given MBean server. |
static java.lang.Object |
get(ObjectName (src) name,
MBeanServer (src) server)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MBeanProxy()
Method Detail |
public static java.lang.Object get(java.lang.Class intrface, ObjectName (src) name, java.lang.String agentID) throws MBeanProxyCreationException (src)
intrface
- the interface this proxy implementsname
- object name of the MBean this proxy connects toagentID
- agent ID of the MBean server this proxy connects to
MBeanProxyCreationException (src)
- if the proxy could not be createdpublic static java.lang.Object get(java.lang.Class intrface, ObjectName (src) name, MBeanServer (src) server) throws MBeanProxyCreationException (src)
intrface
- the interface this proxy implementsname
- object name of the MBean this proxy connects toserver
- MBean server this proxy connects to
MBeanProxyCreationException (src)
- if the proxy could not be createdpublic static java.lang.Object get(ObjectName (src) name, MBeanServer (src) server) throws MBeanProxyCreationException (src)
MBeanProxyCreationException (src)
public static java.lang.Object create(java.lang.Class instance, java.lang.Class intrface, ObjectName (src) name, java.lang.String agentID) throws MBeanProxyCreationException (src)
instance
- MBean instance to be registeredintrface
- the interface this proxy implementsname
- object name of the MBeanagentID
- agent ID of the MBean server this proxy connects to
MBeanProxyCreationException (src)
- if the proxy could not be createdpublic static java.lang.Object create(java.lang.Class instance, java.lang.Class intrface, ObjectName (src) name, MBeanServer (src) server) throws MBeanProxyCreationException (src)
instance
- MBean instance to be registeredintrface
- the interface this proxy implementsname
- object name of the MBeanserver
- MBean server this proxy connects to
MBeanProxyCreationException (src)
- if the proxy could not be created
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |