|
|||||||||||
| 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.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(MBeanServer server)
|
| Methods inherited from class mx4j.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(MBeanServer server)
setMBeanServer in class AdaptorInterceptorpublic java.lang.String getType()
Interceptor
getType in interface InterceptorgetType in class AdaptorInterceptorpublic void setEnabled(boolean value)
setEnabled in interface AdaptorInterceptorMBeansetEnabled in class AdaptorInterceptorpublic boolean isEnabled()
isEnabled in interface AdaptorInterceptorMBeanisEnabled in class AdaptorInterceptor
protected void preInvoke(Invocation invocation)
throws java.lang.Exception
AdaptorInterceptorAdaptorInterceptor.doInvoke(mx4j.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 AdaptorInterceptorjava.lang.ExceptionAdaptorInterceptor.postInvoke(mx4j.adaptor.interceptor.Invocation)
protected void postInvoke(Invocation invocation)
throws java.lang.Exception
AdaptorInterceptorAdaptorInterceptor.preInvoke(mx4j.adaptor.interceptor.Invocation)
or by AdaptorInterceptor.doInvoke(mx4j.adaptor.interceptor.Invocation)
Subclasses normally override this method to perform some operation after the real invocation
on the interceptor chain.
postInvoke in class AdaptorInterceptorjava.lang.ExceptionAdaptorInterceptor.preInvoke(mx4j.adaptor.interceptor.Invocation)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||