| java.lang.Object org.huihoo.jfox.proxy.MBeanProxy
MBeanProxy | public class MBeanProxy (Code) | | test whether the MBean obj
author: Young Yang |
createMBean | public static Object createMBean(MBeanServer server, ObjectName name, Object mbeanObj) throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException(Code) | | Test whether the MBean is registered in the MBeanServer, if not, register it.
then , return the MBean Proxy Interface.
if the MBean has registered, the method equals getMBeanProxy(MBeanServer server, Object mbeanObj, ObjectName name)
Parameters: server - Parameters: name - Parameters: mbeanObj - throws: InstanceAlreadyExistsException - throws: MBeanRegistrationException - throws: NotCompliantMBeanException - |
getMBeanProxy | public static Object getMBeanProxy(MBeanServer server, Object mbeanObj, ObjectName name)(Code) | | get the MBean Object's Proxy Object, use the MBeanServer and the ObjectName
as InvocationHandler's parameter
Parameters: server - Parameters: mbeanObj - the MBean Object Parameters: name - MBean's interface Proxy Object |
getMBeanProxy | public static Object getMBeanProxy(MBeanServer server, Class mbeanCls, ObjectName name)(Code) | | get the MBean Object's Proxy Object, use the MBeanServer and the ObjectName
as InvocationHandler's parameter
Parameters: server - Parameters: mbeanCls - MBean Object's class name Parameters: name - MBean's interface Proxy Object |
|
|