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, setServiceBeanAopCacheManager
public void addServiceClass(String className)
addServiceClass
in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
public void addServiceClassMethod(String className, String methodName, String[] parameterTypes)
addServiceClassMethod
in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
public void afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation, Object result) throws Throwable
afterReturning
in class ChainableMethodAdvice
Throwable
public void afterThrowing(org.aopalliance.intercept.MethodInvocation methodInvocation, Throwable throwable) throws Throwable
afterThrowing
in class ChainableMethodAdvice
Throwable
public Object before(org.aopalliance.intercept.MethodInvocation methodInvocation) throws Throwable
before
in class ChainableMethodAdvice
Throwable
public void duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)
duringFinally
in class ChainableMethodAdvice
public Set<String> getServiceClasses()
getServiceClasses
in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
public Set<com.liferay.portal.kernel.monitoring.MethodSignature> getServiceClassMethods()
getServiceClassMethods
in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
public boolean isInclusiveMode()
isInclusiveMode
in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
public boolean isMonitorServiceRequest()
isMonitorServiceRequest
in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
public void setInclusiveMode(boolean inclusiveMode)
setInclusiveMode
in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
public void setMonitorServiceRequest(boolean monitorServiceRequest)
setMonitorServiceRequest
in interface com.liferay.portal.kernel.monitoring.ServiceMonitoringControl
protected boolean isIncluded(org.aopalliance.intercept.MethodInvocation methodInvocation)