org.jboss.mx.interceptor
Class DynamicInterceptor
java.lang.Object
org.jboss.mx.interceptor.AbstractInterceptor
org.jboss.mx.interceptor.DynamicInterceptor
- All Implemented Interfaces:
- Interceptor
public class DynamicInterceptor
- extends AbstractInterceptor
Interceptor that provides access to the org.jboss.mx.server.Interceptable hooks
for dynamically adding and removing interceptors to an MBean.
- Version:
- $Revision: 57200 $
- Author:
- Dimitris Andreadis.
ADD_INTERCEPTOR
public static final String ADD_INTERCEPTOR
- methods implemented from org.jboss.mx.server.Interceptable
- See Also:
- Constant Field Values
REMOVE_INTERCEPTOR
public static final String REMOVE_INTERCEPTOR
- See Also:
- Constant Field Values
DynamicInterceptor
public DynamicInterceptor(MBeanInvoker invoker)
- CTOR
invoke
public Object invoke(Invocation invocation)
throws Throwable
- Do the trick
- Specified by:
invoke
in interface Interceptor
- Overrides:
invoke
in class AbstractInterceptor
- Parameters:
invocation
- the invocation object send towards the target
resource by the invoker
- Returns:
- return value from the target resource
- Throws:
Throwable
- See Also:
Invocation
,
MBeanInvoker
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.