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)
Handle an application event.
|
public ServiceHandler(CurrentDetails cd)
public ServiceHandler(CurrentDetails cd, long methodTimeWarn, long methodTimeError)
public void onApplicationEvent(org.springframework.context.ApplicationEvent arg0)
org.springframework.context.ApplicationListener
onApplicationEvent
in interface org.springframework.context.ApplicationListener
arg0
- the event to respond topublic 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.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.