|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mx4j.adaptor.interceptor.AdaptorInterceptor | +--mx4j.adaptor.interceptor.InvokerAdaptorInterceptor
Constructor Summary | |
---|---|
InvokerAdaptorInterceptor()
|
Method Summary | |
---|---|
protected InvocationResult |
doInvoke(Invocation invocation)
The real invocation on the interceptor chain. |
java.lang.String |
getType()
Returns the type of this interceptor |
InvocationResult |
invoke(Invocation invocation)
Invocation method |
boolean |
isEnabled()
This interceptor is always enabled |
void |
setEnabled(boolean value)
Cannot change the status of this attribute, this interceptor is always enabled |
void |
setMBeanServer(MBeanServer server)
|
Methods inherited from class mx4j.adaptor.interceptor.AdaptorInterceptor |
---|
getLogger, getMBeanServer, getNext, getObjectName, postInvoke, preInvoke, setNext, setObjectName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InvokerAdaptorInterceptor()
Method Detail |
public void setMBeanServer(MBeanServer server)
setMBeanServer
in class AdaptorInterceptor
public java.lang.String getType()
Interceptor
getType
in interface Interceptor
getType
in class AdaptorInterceptor
public void setEnabled(boolean value)
setEnabled
in interface AdaptorInterceptorMBean
setEnabled
in class AdaptorInterceptor
public boolean isEnabled()
isEnabled
in interface AdaptorInterceptorMBean
isEnabled
in class AdaptorInterceptor
public InvocationResult invoke(Invocation invocation) throws java.lang.Exception
Invocable
invoke
in interface Invocable
invoke
in class AdaptorInterceptor
java.lang.Exception
protected InvocationResult doInvoke(Invocation invocation) throws java.lang.Exception
AdaptorInterceptor
doInvoke
in class AdaptorInterceptor
java.lang.Exception
AdaptorInterceptor.setNext(mx4j.adaptor.interceptor.Interceptor)
,
AdaptorInterceptor.preInvoke(mx4j.adaptor.interceptor.Invocation)
,
AdaptorInterceptor.postInvoke(mx4j.adaptor.interceptor.Invocation)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |