|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--mx4j.adaptor.interceptor.AdaptorInterceptor
|
+--mx4j.tools.adaptor.interceptor.TimingAdaptorInterceptor
This interceptor registers and logs invocation times along the adaptor's interceptor chain
| Constructor Summary | |
TimingAdaptorInterceptor()
|
|
| Method Summary | |
java.lang.String |
getType()
Returns the type of this interceptor |
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. |
| Methods inherited from class mx4j.adaptor.interceptor.AdaptorInterceptor |
doInvoke, getLogger, getMBeanServer, getNext, getObjectName, invoke, isEnabled, setEnabled, setMBeanServer, setNext, setObjectName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TimingAdaptorInterceptor()
| Method Detail |
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)public java.lang.String getType()
Interceptor
getType in interface InterceptorgetType in class AdaptorInterceptor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||