mx4j.server.interceptor
public interface MBeanServerInterceptor
Version: $Revision: 1.6 $
Field Summary | |
---|---|
static int | POST_DEREGISTER
Constant used to specify the status of the MBean registration in |
static int | POST_REGISTER_FALSE
Constant used to specify the status of the MBean registration in |
static int | POST_REGISTER_TRUE
Constant used to specify the status of the MBean registration in |
static int | PRE_DEREGISTER
Constant used to specify the status of the MBean registration in |
static int | PRE_REGISTER
Constant used to specify the status of the MBean registration in |
Method Summary | |
---|---|
void | addNotificationListener(MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback)
Adds the given notification listener to the MBean, along with the given filter and handback |
Object | getAttribute(MBeanMetaData metadata, String attribute)
Gets the specified attribute value from the MBean instance. |
AttributeList | getAttributes(MBeanMetaData metadata, String[] attributes)
Gets the specified attributes values from the MBean instance. |
MBeanInfo | getMBeanInfo(MBeanMetaData metadata)
Calls getMBeanInfo on the MBean instance (only on DynamicMBeans). |
String | getType()
A concise string that tells the type of this interceptor |
void | instantiate(MBeanMetaData metadata, String className, String[] params, Object[] args)
Instantiate the given className passing the given arguments to the constructor with the given signature |
Object | invoke(MBeanMetaData metadata, String method, String[] params, Object[] args)
Invokes the specified MBean operation on the MBean instance |
void | registration(MBeanMetaData metadata, int operation)
Calls the specified javax.management.MBeanRegistration method on the MBean instance. |
void | removeNotificationListener(MBeanMetaData metadata, NotificationListener listener)
Removes the given notification listener from the MBean. |
void | removeNotificationListener(MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback)
Removes the given notification listener from the MBean, specified by the given filter and handback. |
void | setAttribute(MBeanMetaData metadata, Attribute attribute)
Sets the specified attribute value on the MBean instance. |
AttributeList | setAttributes(MBeanMetaData metadata, AttributeList attributes)
Sets the specified attributes values on the MBean instance. |
void | setChain(List interceptors)
Sets the chain of interceptors on this interceptor. |
Parameters: interceptors The list of interceptors