org.apache.qpid.server.management
Class MBeanInvocationHandlerImpl
java.lang.Object
org.apache.qpid.server.management.MBeanInvocationHandlerImpl
- All Implemented Interfaces:
- InvocationHandler, EventListener, NotificationListener
public class MBeanInvocationHandlerImpl
- extends Object
- implements InvocationHandler, NotificationListener
This class can be used by the JMXConnectorServer as an InvocationHandler for the mbean operations. This implements
the logic for allowing the users to invoke MBean operations and implements the restrictions for readOnly, readWrite
and admin users.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADMIN
public static final String ADMIN
- See Also:
- Constant Field Values
READWRITE
public static final String READWRITE
- See Also:
- Constant Field Values
READONLY
public static final String READONLY
- See Also:
- Constant Field Values
MBeanInvocationHandlerImpl
public MBeanInvocationHandlerImpl()
newProxyInstance
public static MBeanServerForwarder newProxyInstance()
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
handleNotification
public void handleNotification(Notification notification,
Object handback)
- Specified by:
handleNotification
in interface NotificationListener
Licensed to the Apache Software Foundation