public class ServiceMonitorAdvice extends ChainableMethodAdvice implements com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
nextMethodInterceptor, nullResult, serviceBeanAopCacheManager| Constructor and Description |
|---|
ServiceMonitorAdvice() |
| Modifier and Type | Method and Description |
|---|---|
void |
addServiceClass(String className) |
void |
addServiceClassMethod(String className,
String methodName,
String[] parameterTypes) |
void |
afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
Object result) |
void |
afterThrowing(org.aopalliance.intercept.MethodInvocation methodInvocation,
Throwable throwable) |
Object |
before(org.aopalliance.intercept.MethodInvocation methodInvocation) |
void |
duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation) |
Set<String> |
getServiceClasses() |
Set<com.liferay.portal.kernel.monitoring.MethodSignature> |
getServiceClassMethods() |
protected boolean |
isIncluded(org.aopalliance.intercept.MethodInvocation methodInvocation) |
boolean |
isInclusiveMode() |
boolean |
isMonitorServiceRequest() |
void |
setInclusiveMode(boolean inclusiveMode) |
void |
setMonitorServiceRequest(boolean monitorServiceRequest) |
invoke, setNextMethodInterceptor, setServiceBeanAopCacheManagerpublic void addServiceClass(String className)
addServiceClass in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic void addServiceClassMethod(String className, String methodName, String[] parameterTypes)
addServiceClassMethod in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic void afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
Object result)
throws Throwable
afterReturning in class ChainableMethodAdviceThrowablepublic void afterThrowing(org.aopalliance.intercept.MethodInvocation methodInvocation,
Throwable throwable)
throws Throwable
afterThrowing in class ChainableMethodAdviceThrowablepublic Object before(org.aopalliance.intercept.MethodInvocation methodInvocation) throws Throwable
before in class ChainableMethodAdviceThrowablepublic void duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)
duringFinally in class ChainableMethodAdvicepublic Set<String> getServiceClasses()
getServiceClasses in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic Set<com.liferay.portal.kernel.monitoring.MethodSignature> getServiceClassMethods()
getServiceClassMethods in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic boolean isInclusiveMode()
isInclusiveMode in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic boolean isMonitorServiceRequest()
isMonitorServiceRequest in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic void setInclusiveMode(boolean inclusiveMode)
setInclusiveMode in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic void setMonitorServiceRequest(boolean monitorServiceRequest)
setMonitorServiceRequest in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlprotected boolean isIncluded(org.aopalliance.intercept.MethodInvocation methodInvocation)