com.liferay.portal.monitoring.statistics.service
Class ServiceMonitorAdvice
java.lang.Object
com.liferay.portal.spring.aop.ChainableMethodAdvice
com.liferay.portal.monitoring.statistics.service.ServiceMonitorAdvice
- All Implemented Interfaces:
- ServiceMonitoringControl, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class ServiceMonitorAdvice
- extends ChainableMethodAdvice
- implements ServiceMonitoringControl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceMonitorAdvice
public ServiceMonitorAdvice()
addServiceClass
public void addServiceClass(String className)
- Specified by:
addServiceClass in interface ServiceMonitoringControl
addServiceClassMethod
public void addServiceClassMethod(String className,
String methodName,
String[] parameterTypes)
- Specified by:
addServiceClassMethod in interface ServiceMonitoringControl
afterReturning
public void afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
Object result)
throws Throwable
- Overrides:
afterReturning in class ChainableMethodAdvice
- Throws:
Throwable
afterThrowing
public void afterThrowing(org.aopalliance.intercept.MethodInvocation methodInvocation,
Throwable throwable)
throws Throwable
- Overrides:
afterThrowing in class ChainableMethodAdvice
- Throws:
Throwable
before
public Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
- Overrides:
before in class ChainableMethodAdvice
- Throws:
Throwable
duringFinally
public void duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)
- Overrides:
duringFinally in class ChainableMethodAdvice
getServiceClasses
public Set<String> getServiceClasses()
- Specified by:
getServiceClasses in interface ServiceMonitoringControl
getServiceClassMethods
public Set<MethodSignature> getServiceClassMethods()
- Specified by:
getServiceClassMethods in interface ServiceMonitoringControl
isInclusiveMode
public boolean isInclusiveMode()
- Specified by:
isInclusiveMode in interface ServiceMonitoringControl
isMonitorServiceRequest
public boolean isMonitorServiceRequest()
- Specified by:
isMonitorServiceRequest in interface ServiceMonitoringControl
setInclusiveMode
public void setInclusiveMode(boolean inclusiveMode)
- Specified by:
setInclusiveMode in interface ServiceMonitoringControl
setMonitorServiceRequest
public void setMonitorServiceRequest(boolean monitorServiceRequest)
- Specified by:
setMonitorServiceRequest in interface ServiceMonitoringControl
isIncluded
protected boolean isIncluded(org.aopalliance.intercept.MethodInvocation methodInvocation)