public class ServiceHandler extends Object implements MethodInterceptor, 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(ApplicationEvent arg0) |
public ServiceHandler(CurrentDetails cd)
public ServiceHandler(CurrentDetails cd, long methodTimeWarn, long methodTimeError)
public void onApplicationEvent(ApplicationEvent arg0)
onApplicationEvent
in interface 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.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.