public class ServiceMonitorAdvice extends ChainableMethodAdvice
nextMethodInterceptor, nullResult, serviceBeanAopCacheManager| Constructor and Description |
|---|
ServiceMonitorAdvice() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMonitoredClass(java.lang.String className) |
void |
addMonitoredMethod(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) |
static ServiceMonitorAdvice |
getInstance()
Deprecated.
As of 6.1.0
|
java.util.Set<java.lang.String> |
getMonitoredClasses() |
java.util.Set<MethodSignature> |
getMonitoredMethods() |
static boolean |
isActive() |
protected boolean |
isMonitored(org.aopalliance.intercept.MethodInvocation methodInvocation) |
boolean |
isPermissiveMode() |
void |
setActive(boolean active) |
void |
setMonitoredClasses(java.util.Set<java.lang.String> monitoredClasses) |
void |
setMonitoredMethods(java.util.Set<MethodSignature> monitoredMethods) |
void |
setMonitoringDestinationName(java.lang.String monitoringDestinationName)
Deprecated.
As of 6.2.0
|
void |
setPermissiveMode(boolean permissiveMode) |
invoke, setNextMethodInterceptor, setServiceBeanAopCacheManagerpublic static ServiceMonitorAdvice getInstance()
public static boolean isActive()
public void addMonitoredClass(java.lang.String className)
public void addMonitoredMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
public 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> getMonitoredClasses()
public java.util.Set<MethodSignature> getMonitoredMethods()
public boolean isPermissiveMode()
public void setActive(boolean active)
public void setMonitoredClasses(java.util.Set<java.lang.String> monitoredClasses)
public void setMonitoredMethods(java.util.Set<MethodSignature> monitoredMethods)
public void setMonitoringDestinationName(java.lang.String monitoringDestinationName)
public void setPermissiveMode(boolean permissiveMode)
protected boolean isMonitored(org.aopalliance.intercept.MethodInvocation methodInvocation)