| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectmx4j.server.interceptor.DefaultMBeanServerInterceptormx4j.server.interceptor.InvokerMBeanServerInterceptorpublic class InvokerMBeanServerInterceptorextends DefaultMBeanServerInterceptorimplements InvokerMBeanServerInterceptorMBeanMBeanInvoker.
Fields inherited from interface mx4j.server.interceptor.MBeanServerInterceptor | |
POST_DEREGISTER, POST_REGISTER_FALSE, POST_REGISTER_TRUE, PRE_DEREGISTER, PRE_REGISTER | |
Constructor Summary | |
| |
Method Summary | |
void |
|
Object |
|
javax.management.AttributeList |
|
javax.management.MBeanInfo |
|
String |
|
void |
|
Object |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
javax.management.AttributeList |
|
Methods inherited from class mx4j.server.interceptor.DefaultMBeanServerInterceptor | |
addNotificationListener, getAttribute, getAttributes, getLogger, getMBeanInfo, getNext, getType, instantiate, invoke, isEnabled, registration, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, setChain, setEnabled | |
public InvokerMBeanServerInterceptor(javax.management.MBeanServer outerServer)
Instantiates a new interceptor instance.
- Parameters:
outerServer- theMBeanServerinstance that is passed toMBeanRegistration.preRegister(MBeanServer, ObjectName).
public void addNotificationListener(MBeanMetaData metadata, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, Object handback)
- Specified by:
- addNotificationListener in interface MBeanServerInterceptor
- Overrides:
- addNotificationListener in interface DefaultMBeanServerInterceptor
public Object getAttribute(MBeanMetaData metadata, String attribute) throws javax.management.MBeanException, javax.management.AttributeNotFoundException, javax.management.ReflectionException
- Specified by:
- getAttribute in interface MBeanServerInterceptor
- Overrides:
- getAttribute in interface DefaultMBeanServerInterceptor
public javax.management.AttributeList getAttributes(MBeanMetaData metadata, String[] attributes)
- Specified by:
- getAttributes in interface MBeanServerInterceptor
- Overrides:
- getAttributes in interface DefaultMBeanServerInterceptor
public javax.management.MBeanInfo getMBeanInfo(MBeanMetaData metadata)
- Specified by:
- getMBeanInfo in interface MBeanServerInterceptor
- Overrides:
- getMBeanInfo in interface DefaultMBeanServerInterceptor
public String getType()
Returns the type of this interceptor
- Specified by:
- getType in interface InvokerMBeanServerInterceptorMBean
- getType in interface MBeanServerInterceptor
- getType in interface DefaultMBeanServerInterceptorMBean
- Overrides:
- getType in interface DefaultMBeanServerInterceptor
public void instantiate(MBeanMetaData metadata, String className, String[] params, Object[] args) throws javax.management.ReflectionException, javax.management.MBeanException
- Specified by:
- instantiate in interface MBeanServerInterceptor
- Overrides:
- instantiate in interface DefaultMBeanServerInterceptor
public Object invoke(MBeanMetaData metadata, String method, String[] params, Object[] args) throws javax.management.MBeanException, javax.management.ReflectionException
- Specified by:
- invoke in interface MBeanServerInterceptor
- Overrides:
- invoke in interface DefaultMBeanServerInterceptor
public boolean isEnabled()
This interceptor is always enabled
- Specified by:
- isEnabled in interface InvokerMBeanServerInterceptorMBean
- isEnabled in interface DefaultMBeanServerInterceptorMBean
- Overrides:
- isEnabled in interface DefaultMBeanServerInterceptor
public void registration(MBeanMetaData metadata, int operation) throws javax.management.MBeanRegistrationException
- Specified by:
- registration in interface MBeanServerInterceptor
- Overrides:
- registration in interface DefaultMBeanServerInterceptor
public void removeNotificationListener(MBeanMetaData metadata, javax.management.NotificationListener listener) throws javax.management.ListenerNotFoundException
- Specified by:
- removeNotificationListener in interface MBeanServerInterceptor
- Overrides:
- removeNotificationListener in interface DefaultMBeanServerInterceptor
public void removeNotificationListener(MBeanMetaData metadata, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, Object handback) throws javax.management.ListenerNotFoundException
- Specified by:
- removeNotificationListener in interface MBeanServerInterceptor
- Overrides:
- removeNotificationListener in interface DefaultMBeanServerInterceptor
public void setAttribute(MBeanMetaData metadata, javax.management.Attribute attribute) throws javax.management.MBeanException, javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.ReflectionException
- Specified by:
- setAttribute in interface MBeanServerInterceptor
- Overrides:
- setAttribute in interface DefaultMBeanServerInterceptor
public javax.management.AttributeList setAttributes(MBeanMetaData metadata, javax.management.AttributeList attributes)
- Specified by:
- setAttributes in interface MBeanServerInterceptor
- Overrides:
- setAttributes in interface DefaultMBeanServerInterceptor