|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmx4j.tools.adaptor.interceptor.AdaptorInterceptor
mx4j.tools.adaptor.interceptor.ContextClassLoaderAdaptorInterceptor
The interceptor that sets the context classloader for incoming calls
Constructor Summary | |
ContextClassLoaderAdaptorInterceptor()
|
Method Summary | |
java.lang.String |
getType()
Returns the type of this interceptor |
boolean |
isEnabled()
This interceptor is always enabled |
protected void |
postInvoke(Invocation invocation)
Called after the real invocation in the interceptor chain. |
protected void |
preInvoke(Invocation invocation)
Called before the real invocation on the interceptor chain. |
void |
setEnabled(boolean value)
Cannot change the status of this attribute, this interceptor is always enabled |
void |
setMBeanServer(javax.management.MBeanServer server)
|
Methods inherited from class mx4j.tools.adaptor.interceptor.AdaptorInterceptor |
doInvoke, getLogger, getMBeanServer, getNext, getObjectName, invoke, setNext, setObjectName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ContextClassLoaderAdaptorInterceptor()
Method Detail |
public void setMBeanServer(javax.management.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
protected void preInvoke(Invocation invocation) throws java.lang.Exception
AdaptorInterceptor
AdaptorInterceptor.doInvoke(mx4j.tools.adaptor.interceptor.Invocation)
not being called.
Subclasses normally override this method to perform some operation before the real invocation
on the interceptor chain.
preInvoke
in class AdaptorInterceptor
java.lang.Exception
AdaptorInterceptor.postInvoke(mx4j.tools.adaptor.interceptor.Invocation)
protected void postInvoke(Invocation invocation) throws java.lang.Exception
AdaptorInterceptor
AdaptorInterceptor.preInvoke(mx4j.tools.adaptor.interceptor.Invocation)
or by AdaptorInterceptor.doInvoke(mx4j.tools.adaptor.interceptor.Invocation)
Subclasses normally override this method to perform some operation after the real invocation
on the interceptor chain.
postInvoke
in class AdaptorInterceptor
java.lang.Exception
AdaptorInterceptor.preInvoke(mx4j.tools.adaptor.interceptor.Invocation)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |