public class ServiceHandler
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor, org.springframework.context.ApplicationListener
Constructor and Description |
---|
ServiceHandler(CurrentDetails cd) |
ServiceHandler(CurrentDetails cd,
long methodTimeWarn,
long methodTimeError) |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup() |
protected java.lang.Throwable |
getAndLogException(java.lang.Throwable t) |
static java.lang.String |
getResultsString(java.lang.Object o,
java.util.IdentityHashMap<java.lang.Object,java.lang.String> cache)
public for testing purposes.
|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation arg0) |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent arg0) |
public ServiceHandler(CurrentDetails cd)
public ServiceHandler(CurrentDetails cd, long methodTimeWarn, long methodTimeError)
public void onApplicationEvent(org.springframework.context.ApplicationEvent arg0)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation arg0) throws java.lang.Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
java.lang.Throwable
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
protected void cleanup()
protected java.lang.Throwable getAndLogException(java.lang.Throwable t)
public static java.lang.String getResultsString(java.lang.Object o, java.util.IdentityHashMap<java.lang.Object,java.lang.String> cache)