public class ServiceHandler extends 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 Throwable |
getAndLogException(Throwable t) |
static String |
getResultsString(Object o,
IdentityHashMap<Object,String> cache)
public for testing purposes.
|
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 Object invoke(MethodInvocation arg0) throws Throwable
invoke
in interface MethodInterceptor
Throwable
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
protected void cleanup()
public static String getResultsString(Object o, IdentityHashMap<Object,String> cache)
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.