|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.crispy.interceptor.StopWatchInterceptor
Mini stopwatch.
Constructor Summary | |
StopWatchInterceptor()
|
Method Summary | |
void |
afterMethodInvocation(InterceptorContext pvInterceptorContext)
After call doInvoke . |
void |
afterNewInstance(java.lang.Class pvInterfaceClass,
java.lang.Object pvProxyObject)
After call newInstance . |
void |
beforeMethodInvocation(InterceptorContext pvInterceptorContext)
Before call doInvoke . |
void |
beforeNewInstance(java.lang.Class pvInterfaceClass)
Before call newInstance . |
void |
clearStopTimeInvokeMethod()
|
void |
clearStopTimeNewInstance()
|
int |
getOnErrorCounter()
|
long |
getStopTimeInvokeMethod()
|
long |
getStopTimeNewInstance()
|
void |
onError(java.lang.Throwable pvThrowable)
Call if a Exception is thrown. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StopWatchInterceptor()
Method Detail |
public void beforeNewInstance(java.lang.Class pvInterfaceClass)
Interceptor
newInstance
.
beforeNewInstance
in interface Interceptor
Interceptor.beforeNewInstance(java.lang.Class)
public void afterNewInstance(java.lang.Class pvInterfaceClass, java.lang.Object pvProxyObject)
Interceptor
newInstance
.
afterNewInstance
in interface Interceptor
Interceptor.afterNewInstance(java.lang.Class, java.lang.Object)
public void beforeMethodInvocation(InterceptorContext pvInterceptorContext)
Interceptor
doInvoke
.
beforeMethodInvocation
in interface Interceptor
Interceptor.beforeMethodInvocation(net.sf.crispy.InterceptorContext)
public void afterMethodInvocation(InterceptorContext pvInterceptorContext)
Interceptor
doInvoke
.
afterMethodInvocation
in interface Interceptor
Interceptor.afterMethodInvocation(net.sf.crispy.InterceptorContext)
public void onError(java.lang.Throwable pvThrowable)
Interceptor
onError
in interface Interceptor
Interceptor.onError(java.lang.Throwable)
public long getStopTimeNewInstance()
public long getStopTimeInvokeMethod()
public int getOnErrorCounter()
public void clearStopTimeInvokeMethod()
public void clearStopTimeNewInstance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |