Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » util » jmx » [javadoc | source]
org.jboss.util.jmx
public class: MBeanProxy [javadoc | source]
java.lang.Object
   org.jboss.util.jmx.MBeanProxy

All Implemented Interfaces:
    InvocationHandler, MBeanProxyInstance

A factory for producing MBean proxies.

Created proxies will also implement MBeanProxyInstance allowing access to the proxies configuration.

Revisions:

20020321 Adrian Brock:

Constructor:
 MBeanProxy(ObjectName name,
    MBeanServer server) 
    Construct a MBeanProxy.
Method from org.jboss.util.jmx.MBeanProxy Summary:
create,   create,   create,   create,   getMBeanProxyMBeanServer,   getMBeanProxyObjectName,   invoke
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.util.jmx.MBeanProxy Detail:
 public static Object create(Class intf,
    String name) throws MalformedObjectNameException 
    Create an MBean proxy.
 public static Object create(Class intf,
    ObjectName name) 
    Create an MBean proxy.
 public static Object create(Class intf,
    String name,
    MBeanServer server) throws MalformedObjectNameException 
    Create an MBean proxy.
 public static Object create(Class intf,
    ObjectName name,
    MBeanServer server) 
    Create an MBean proxy.
 public final MBeanServer getMBeanProxyMBeanServer() 
 public final ObjectName getMBeanProxyObjectName() 
 public Object invoke(Object proxy,
    Method method,
    Object[] args) throws Throwable 
    Invoke the configured MBean via the target MBeanServer and decode any resulting JMX exceptions that are thrown.