org.opennms.protocols.jmx
Class MBeanServerProxy

java.lang.Object
  extended by org.opennms.protocols.jmx.MBeanServerProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class MBeanServerProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler


Constructor Summary
MBeanServerProxy(java.lang.Object remoteServer)
          Creates a new instance of Proxy
 
Method Summary
static javax.management.MBeanServer buildServerProxy(java.lang.Object server)
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanServerProxy

public MBeanServerProxy(java.lang.Object remoteServer)
Creates a new instance of Proxy

Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method m,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

buildServerProxy

public static javax.management.MBeanServer buildServerProxy(java.lang.Object server)


Copyright © 2007. All Rights Reserved.