| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectmx4j.tools.adaptor.interceptor.AdaptorInterceptormx4j.tools.adaptor.interceptor.InvokerAdaptorInterceptorpublic final class InvokerAdaptorInterceptorextends AdaptorInterceptorMethod Summary | |
protected InvocationResult |
|
String |
|
InvocationResult |
|
boolean |
|
void |
|
void |
|
Methods inherited from class mx4j.tools.adaptor.interceptor.AdaptorInterceptor | |
doInvoke, getLogger, getMBeanServer, getNext, getObjectName, getType, invoke, isEnabled, postInvoke, preInvoke, setEnabled, setMBeanServer, setNext, setObjectName, toString | |
protected InvocationResult doInvoke(Invocation invocation) throws Exception
The real invocation on the interceptor chain.
By default calls the next interceptor in the chain.
- Overrides:
- doInvoke in interface AdaptorInterceptor
public String getType()
Returns the type of this interceptor
- Specified by:
- getType in interface Interceptor
- getType in interface AdaptorInterceptorMBean
- Overrides:
- getType in interface AdaptorInterceptor
public InvocationResult invoke(Invocation invocation) throws Exception
Invocation method
- Overrides:
- invoke in interface AdaptorInterceptor
public boolean isEnabled()
This interceptor is always enabled
- Specified by:
- isEnabled in interface AdaptorInterceptorMBean
- Overrides:
- isEnabled in interface AdaptorInterceptor
public void setEnabled(boolean value)
Cannot change the status of this attribute, this interceptor is always enabled
- Specified by:
- setEnabled in interface AdaptorInterceptorMBean
- Overrides:
- setEnabled in interface AdaptorInterceptor
public void setMBeanServer(javax.management.MBeanServer server)
- Overrides:
- setMBeanServer in interface AdaptorInterceptor