mx4j.server.interceptor
Class ContextClassLoaderMBeanServerInterceptor
public
class
ContextClassLoaderMBeanServerInterceptor
extends DefaultMBeanServerInterceptor
This interceptor sets the context class loader to the proper value for incoming calls.
It saves the current context class loader, set the context class loader to be the MBean's class loader for
the current call, and on return re-set the context class loader to the previous value
Version: $Revision: 1.11 $
Method Summary |
void | addNotificationListener(MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback) |
Object | getAttribute(MBeanMetaData metadata, String attribute) |
AttributeList | getAttributes(MBeanMetaData metadata, String[] attributes) |
MBeanInfo | getMBeanInfo(MBeanMetaData metadata) |
String | getType() |
void | instantiate(MBeanMetaData metadata, String className, String[] params, Object[] args) |
Object | invoke(MBeanMetaData metadata, String method, String[] params, Object[] args) |
void | registration(MBeanMetaData metadata, int operation) |
void | removeNotificationListener(MBeanMetaData metadata, NotificationListener listener) |
void | removeNotificationListener(MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback) |
void | setAttribute(MBeanMetaData metadata, Attribute attribute) |
AttributeList | setAttributes(MBeanMetaData metadata, AttributeList attributes) |
public ContextClassLoaderMBeanServerInterceptor()
public void addNotificationListener(
MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback)
public Object getAttribute(
MBeanMetaData metadata, String attribute)
public AttributeList getAttributes(
MBeanMetaData metadata, String[] attributes)
public String getType()
public void instantiate(
MBeanMetaData metadata, String className, String[] params, Object[] args)
public Object invoke(
MBeanMetaData metadata, String method, String[] params, Object[] args)
public void removeNotificationListener(
MBeanMetaData metadata, NotificationListener listener)
public void removeNotificationListener(
MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback)
public void setAttribute(
MBeanMetaData metadata, Attribute attribute)
public AttributeList setAttributes(
MBeanMetaData metadata, AttributeList attributes)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.