| java.lang.Object org.jboss.mx.util.MBeanProxy
Method Summary | |
public static Object | create(Class instance, Class intrface, ObjectName name, String agentID) Convenience method for registering an MBean and retrieving a proxy for it. | public static Object | create(Class instance, Class intrface, ObjectName name, MBeanServer server) Convenience method for registering an MBean and retrieving a proxy for it. | public static Object | get(Class intrface, ObjectName name, String agentID) Creates a proxy to an MBean in the given MBean server. | public static Object | get(Class intrface, ObjectName name, MBeanServer server) Creates a proxy to an MBean in the given MBean server. | public static Object | get(ObjectName name, MBeanServer server) |
create | public static Object create(Class instance, Class intrface, ObjectName name, String agentID) throws MBeanProxyCreationException(Code) | | Convenience method for registering an MBean and retrieving a proxy for it.
Parameters: instance - MBean instance to be registered Parameters: intrface - the interface this proxy implements Parameters: name - object name of the MBean Parameters: agentID - agent ID of the MBean server this proxy connects to proxy instance throws: MBeanProxyCreationException - if the proxy could not be created |
create | public static Object create(Class instance, Class intrface, ObjectName name, MBeanServer server) throws MBeanProxyCreationException(Code) | | Convenience method for registering an MBean and retrieving a proxy for it.
Parameters: instance - MBean instance to be registered Parameters: intrface - the interface this proxy implements Parameters: name - object name of the MBean Parameters: server - MBean server this proxy connects to throws: MBeanProxyCreationException - if the proxy could not be created |
get | public static Object get(Class intrface, ObjectName name, String agentID) throws MBeanProxyCreationException(Code) | | Creates a proxy to an MBean in the given MBean server.
Parameters: intrface - the interface this proxy implements Parameters: name - object name of the MBean this proxy connects to Parameters: agentID - agent ID of the MBean server this proxy connects to proxy instance throws: MBeanProxyCreationException - if the proxy could not be created |
|
|