public class MBeanProxy extends Object
| Constructor and Description |
|---|
MBeanProxy() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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 toMBeanProxyCreationException - 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 toMBeanProxyCreationException - if the proxy could not be createdpublic static Object get(ObjectName name, MBeanServer server) throws MBeanProxyCreationException
MBeanProxyCreationExceptionpublic 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 toMBeanProxyCreationException - 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 toMBeanProxyCreationException - if the proxy could not be createdCopyright © 2015 Seam Framework. All Rights Reserved.