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(java.lang.String className) |
void |
addServiceClassMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes) |
void |
afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
java.lang.Object result) |
void |
afterThrowing(org.aopalliance.intercept.MethodInvocation methodInvocation,
java.lang.Throwable throwable) |
java.lang.Object |
before(org.aopalliance.intercept.MethodInvocation methodInvocation) |
void |
duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation) |
java.util.Set<java.lang.String> |
getServiceClasses() |
java.util.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(java.lang.String className)
addServiceClass in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic void addServiceClassMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
addServiceClassMethod in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic void afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
java.lang.Object result)
throws java.lang.Throwable
afterReturning in class ChainableMethodAdvicejava.lang.Throwablepublic void afterThrowing(org.aopalliance.intercept.MethodInvocation methodInvocation,
java.lang.Throwable throwable)
throws java.lang.Throwable
afterThrowing in class ChainableMethodAdvicejava.lang.Throwablepublic java.lang.Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws java.lang.Throwable
before in class ChainableMethodAdvicejava.lang.Throwablepublic void duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)
duringFinally in class ChainableMethodAdvicepublic java.util.Set<java.lang.String> getServiceClasses()
getServiceClasses in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControlpublic java.util.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)