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.Exception
public java.lang.reflect.Method AroundConstruct() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void AroundConstruct(InvocationContext invocationContext) throws java.lang.Exception
java.lang.Exception
public java.lang.reflect.Method PostConstruct() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void PostConstruct(InvocationContext invocationContext) throws java.lang.Exception
java.lang.Exception
public java.lang.reflect.Method PreDestroy() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void PreDestroy(InvocationContext invocationContext) throws java.lang.Exception
java.lang.Exception
public java.lang.reflect.Method PostActivate() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void PostActivate(InvocationContext invocationContext) throws java.lang.Exception
java.lang.Exception
public java.lang.reflect.Method PrePassivate() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void PrePassivate(InvocationContext invocationContext) throws java.lang.Exception
java.lang.Exception
public java.lang.reflect.Method AroundTimeout() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void AroundTimeout(InvocationContext invocationContext) throws java.lang.Exception
java.lang.Exception
public java.lang.reflect.Method AfterBegin() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void AfterBegin(InvocationContext invocationContext) throws java.lang.Exception
java.lang.Exception
public java.lang.reflect.Method BeforeCompletion() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void BeforeCompletion(InvocationContext invocationContext) throws java.lang.Exception
java.lang.Exception
public java.lang.reflect.Method AfterCompletion() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void AfterCompletion(InvocationContext invocationContext) throws java.lang.Exception
java.lang.Exception
public static boolean isStatsActivated()