Liferay 7.0-ce-b4

com.liferay.portal.monitoring.statistics.service
Class ServiceMonitorAdvice

java.lang.Object
  extended by com.liferay.portal.spring.aop.ChainableMethodAdvice
      extended by 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


Field Summary
 
Fields inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
nextMethodInterceptor, nullResult, serviceBeanAopCacheManager
 
Constructor Summary
ServiceMonitorAdvice()
           
 
Method Summary
 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<MethodSignature> getServiceClassMethods()
           
protected  boolean isIncluded(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 boolean isInclusiveMode()
           
 boolean isMonitorServiceRequest()
           
 void setInclusiveMode(boolean inclusiveMode)
           
 void setMonitorServiceRequest(boolean monitorServiceRequest)
           
 
Methods inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
invoke, setNextMethodInterceptor, setServiceBeanAopCacheManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMonitorAdvice

public ServiceMonitorAdvice()
Method Detail

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)

Liferay 7.0-ce-b4