public class StatsInterceptor
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
StatsInterceptor.Stats |
| Modifier and Type | Field and Description |
|---|---|
static InterceptorData |
metadata |
| Constructor and Description |
|---|
StatsInterceptor(java.lang.Class<?> componentClass) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Method |
AfterBegin() |
void |
AfterBegin(InvocationContext invocationContext) |
java.lang.reflect.Method |
AfterCompletion() |
void |
AfterCompletion(InvocationContext invocationContext) |
java.lang.reflect.Method |
AroundConstruct() |
void |
AroundConstruct(InvocationContext invocationContext) |
java.lang.reflect.Method |
AroundTimeout() |
void |
AroundTimeout(InvocationContext invocationContext) |
java.lang.reflect.Method |
BeforeCompletion() |
void |
BeforeCompletion(InvocationContext invocationContext) |
long |
getInvocationCount() |
long |
getInvocationTime() |
long |
getMonitoredMethods() |
java.lang.Object |
invoke(InvocationContext invocationContext) |
boolean |
isMonitoringEnabled() |
static boolean |
isStatsActivated() |
java.lang.reflect.Method |
PostActivate() |
void |
PostActivate(InvocationContext invocationContext) |
java.lang.reflect.Method |
PostConstruct() |
void |
PostConstruct(InvocationContext invocationContext) |
java.lang.reflect.Method |
PreDestroy() |
void |
PreDestroy(InvocationContext invocationContext) |
java.lang.reflect.Method |
PrePassivate() |
void |
PrePassivate(InvocationContext invocationContext) |
java.util.Collection<StatsInterceptor.Stats> |
stats() |
public static final InterceptorData metadata
public boolean isMonitoringEnabled()
public long getInvocationCount()
public long getInvocationTime()
public long getMonitoredMethods()
public java.util.Collection<StatsInterceptor.Stats> stats()
public java.lang.Object invoke(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.reflect.Method AroundConstruct()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void AroundConstruct(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.reflect.Method PostConstruct()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void PostConstruct(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.reflect.Method PreDestroy()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void PreDestroy(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.reflect.Method PostActivate()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void PostActivate(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.reflect.Method PrePassivate()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void PrePassivate(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.reflect.Method AroundTimeout()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void AroundTimeout(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.reflect.Method AfterBegin()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void AfterBegin(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.reflect.Method BeforeCompletion()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void BeforeCompletion(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.reflect.Method AfterCompletion()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void AfterCompletion(InvocationContext invocationContext)
throws java.lang.Exception
java.lang.Exceptionpublic static boolean isStatsActivated()