Liferay 6.2-ce-ga5

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:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class ServiceMonitorAdvice
extends ChainableMethodAdvice


Field Summary
 
Fields inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
nextMethodInterceptor, nullResult, serviceBeanAopCacheManager
 
Constructor Summary
ServiceMonitorAdvice()
           
 
Method Summary
 void addMonitoredClass(String className)
           
 void addMonitoredMethod(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)
           
static ServiceMonitorAdvice getInstance()
          Deprecated. As of 6.1.0
 Set<String> getMonitoredClasses()
           
 Set<MethodSignature> getMonitoredMethods()
           
static boolean isActive()
           
protected  boolean isMonitored(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 boolean isPermissiveMode()
           
 void setActive(boolean active)
           
 void setMonitoredClasses(Set<String> monitoredClasses)
           
 void setMonitoredMethods(Set<MethodSignature> monitoredMethods)
           
 void setMonitoringDestinationName(String monitoringDestinationName)
          Deprecated. As of 6.2.0
 void setPermissiveMode(boolean permissiveMode)
           
 
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

getInstance

public static ServiceMonitorAdvice getInstance()
Deprecated. As of 6.1.0


isActive

public static boolean isActive()

addMonitoredClass

public void addMonitoredClass(String className)

addMonitoredMethod

public void addMonitoredMethod(String className,
                               String methodName,
                               String[] parameterTypes)

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

getMonitoredClasses

public Set<String> getMonitoredClasses()

getMonitoredMethods

public Set<MethodSignature> getMonitoredMethods()

isPermissiveMode

public boolean isPermissiveMode()

setActive

public void setActive(boolean active)

setMonitoredClasses

public void setMonitoredClasses(Set<String> monitoredClasses)

setMonitoredMethods

public void setMonitoredMethods(Set<MethodSignature> monitoredMethods)

setMonitoringDestinationName

public void setMonitoringDestinationName(String monitoringDestinationName)
Deprecated. As of 6.2.0


setPermissiveMode

public void setPermissiveMode(boolean permissiveMode)

isMonitored

protected boolean isMonitored(org.aopalliance.intercept.MethodInvocation methodInvocation)

Liferay 6.2-ce-ga5