A factory for producing MBean proxies that run on a distant node and access
the server through RMI. Most of the code comes from MBeanProxy.
version: $Revision: 57209 $ author: Sacha Labourey.
create(Class intf, String name, javax.management.MBeanServer server) Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - A string used to construct the ObjectName of theMBean to proxy to. Parameters: server - The MBeanServer that contains the MBean to proxy to.
create(Class intf, ObjectName name, javax.management.MBeanServer server) Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - The name of the MBean to proxy invocations to. Parameters: server - The MBeanServer that contains the MBean to proxy to.
invoke(Object proxy, java.lang.reflect.Method method, Object[] args) Invoke the configured MBean via the target MBeanServer and decode
any resulting JMX exceptions that are thrown.
Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - A string used to construct the ObjectName of theMBean to proxy to. Parameters: server - The MBeanServer that contains the MBean to proxy to. A MBean proxy. throws: Exception - Invalid object name.
Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - The name of the MBean to proxy invocations to. Parameters: server - The MBeanServer that contains the MBean to proxy to. A MBean proxy.