public class ServiceHandler extends java.lang.Object implements 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(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(MethodInvocation arg0) throws java.lang.Throwable
invoke
in interface 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)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.