org.huihoo.jfox.proxy
Class MBeanInvocationHandler

java.lang.Object
  |
  +--org.huihoo.jfox.proxy.MBeanInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

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

InvocationHandler delegate the MBeanServer invoke the actually operation

Author:
Young Yang

Constructor Summary
MBeanInvocationHandler(javax.management.MBeanServer server, javax.management.ObjectName objectName)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanInvocationHandler

public MBeanInvocationHandler(javax.management.MBeanServer server,
                              javax.management.ObjectName objectName)
Method Detail

invoke

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