org.apache.geronimo.kernel.jmx
Class MBeanProxyFactory
java.lang.Object
org.apache.geronimo.kernel.jmx.MBeanProxyFactory
- public final class MBeanProxyFactory
- extends Object
MBeanProxyFactory creates a dynamic proxy to an MBean by ObjectName.
The interface type and object existance are enforced during construction.
- Version:
- $Revision: 1.10 $ $Date: 2004/06/02 06:49:23 $
Method Summary |
static Object |
getProxy(Class type,
javax.management.MBeanServerConnection server,
javax.management.ObjectName objectName)
Creates an MBean proxy using the specified interface to the objectName. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanProxyFactory
public MBeanProxyFactory()
getProxy
public static Object getProxy(Class type,
javax.management.MBeanServerConnection server,
javax.management.ObjectName objectName)
- Creates an MBean proxy using the specified interface to the objectName.
- Parameters:
type
- the interface to implement for this proxyserver
- the MBeanServer in which the object is registeredobjectName
- the objectName of the MBean to proxy
- Returns:
- the new MBean proxy, which implemnts the specified interface
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.