|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.MBeanProxy
Proxy
Constructor Summary | |
MBeanProxy()
|
Method Summary | |
static Object |
create(Class instance,
Class intrface,
ObjectName name,
MBeanServer server)
Convenience method for registering an MBean and retrieving a proxy for it. |
static Object |
create(Class instance,
Class intrface,
ObjectName name,
String agentID)
Convenience method for registering an MBean and retrieving a proxy for it. |
static Object |
get(Class intrface,
ObjectName name,
MBeanServer server)
Creates a proxy to an MBean in the given MBean server. |
static Object |
get(Class intrface,
ObjectName name,
String agentID)
Creates a proxy to an MBean in the given MBean server. |
static Object |
get(ObjectName name,
MBeanServer 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 Object get(Class intrface, ObjectName name, String agentID) throws MBeanProxyCreationException
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
- if the proxy could not be createdpublic static Object get(Class intrface, ObjectName name, MBeanServer server) throws MBeanProxyCreationException
intrface
- the interface this proxy implementsname
- object name of the MBean this proxy connects toserver
- MBean server this proxy connects to
MBeanProxyCreationException
- if the proxy could not be createdpublic static Object get(ObjectName name, MBeanServer server) throws MBeanProxyCreationException
MBeanProxyCreationException
public static Object create(Class instance, Class intrface, ObjectName name, String agentID) throws MBeanProxyCreationException
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
- if the proxy could not be createdpublic static Object create(Class instance, Class intrface, ObjectName name, MBeanServer server) throws MBeanProxyCreationException
instance
- MBean instance to be registeredintrface
- the interface this proxy implementsname
- object name of the MBeanserver
- MBean server this proxy connects to
MBeanProxyCreationException
- if the proxy could not be created
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |