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:
- com.liferay.portal.kernel.monitoring.ServiceMonitoringControl, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class ServiceMonitorAdvice
- extends ChainableMethodAdvice
- implements com.liferay.portal.kernel.monitoring.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 com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
addServiceClassMethod
public void addServiceClassMethod(String className,
String methodName,
String[] parameterTypes)
- Specified by:
addServiceClassMethod in interface com.liferay.portal.kernel.monitoring.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 com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
getServiceClassMethods
public Set<com.liferay.portal.kernel.monitoring.MethodSignature> getServiceClassMethods()
- Specified by:
getServiceClassMethods in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
isInclusiveMode
public boolean isInclusiveMode()
- Specified by:
isInclusiveMode in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
isMonitorServiceRequest
public boolean isMonitorServiceRequest()
- Specified by:
isMonitorServiceRequest in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
setInclusiveMode
public void setInclusiveMode(boolean inclusiveMode)
- Specified by:
setInclusiveMode in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
setMonitorServiceRequest
public void setMonitorServiceRequest(boolean monitorServiceRequest)
- Specified by:
setMonitorServiceRequest in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
isIncluded
protected boolean isIncluded(org.aopalliance.intercept.MethodInvocation methodInvocation)