public class StatsInterceptor extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
StatsInterceptor.Stats |
| Modifier and Type | Field and Description |
|---|---|
static InterceptorData |
metadata |
| Constructor and Description |
|---|
StatsInterceptor(Class<?> componentClass) |
| Modifier and Type | Method and Description |
|---|---|
Method |
AfterBegin() |
void |
AfterBegin(javax.interceptor.InvocationContext invocationContext) |
Method |
AfterCompletion() |
void |
AfterCompletion(javax.interceptor.InvocationContext invocationContext) |
Method |
AroundTimeout() |
void |
AroundTimeout(javax.interceptor.InvocationContext invocationContext) |
Method |
BeforeCompletion() |
void |
BeforeCompletion(javax.interceptor.InvocationContext invocationContext) |
long |
getInvocationCount() |
long |
getInvocationTime() |
long |
getMonitoredMethods() |
Object |
invoke(javax.interceptor.InvocationContext invocationContext) |
boolean |
isMonitoringEnabled() |
static boolean |
isStatsActivated() |
Method |
PostActivate() |
void |
PostActivate(javax.interceptor.InvocationContext invocationContext) |
Method |
PostConstruct() |
void |
PostConstruct(javax.interceptor.InvocationContext invocationContext) |
Method |
PreDestroy() |
void |
PreDestroy(javax.interceptor.InvocationContext invocationContext) |
Method |
PrePassivate() |
void |
PrePassivate(javax.interceptor.InvocationContext invocationContext) |
Collection<StatsInterceptor.Stats> |
stats() |
public static final InterceptorData metadata
public StatsInterceptor(Class<?> componentClass)
public boolean isMonitoringEnabled()
public long getInvocationCount()
public long getInvocationTime()
public long getMonitoredMethods()
public Collection<StatsInterceptor.Stats> stats()
public Object invoke(javax.interceptor.InvocationContext invocationContext) throws Exception
Exceptionpublic Method PostConstruct() throws NoSuchMethodException
NoSuchMethodException@PostConstruct public void PostConstruct(javax.interceptor.InvocationContext invocationContext) throws Exception
Exceptionpublic Method PreDestroy() throws NoSuchMethodException
NoSuchMethodException@PreDestroy public void PreDestroy(javax.interceptor.InvocationContext invocationContext) throws Exception
Exceptionpublic Method PostActivate() throws NoSuchMethodException
NoSuchMethodExceptionpublic void PostActivate(javax.interceptor.InvocationContext invocationContext)
throws Exception
Exceptionpublic Method PrePassivate() throws NoSuchMethodException
NoSuchMethodExceptionpublic void PrePassivate(javax.interceptor.InvocationContext invocationContext)
throws Exception
Exceptionpublic Method AroundTimeout() throws NoSuchMethodException
NoSuchMethodExceptionpublic void AroundTimeout(javax.interceptor.InvocationContext invocationContext)
throws Exception
Exceptionpublic Method AfterBegin() throws NoSuchMethodException
NoSuchMethodExceptionpublic void AfterBegin(javax.interceptor.InvocationContext invocationContext)
throws Exception
Exceptionpublic Method BeforeCompletion() throws NoSuchMethodException
NoSuchMethodExceptionpublic void BeforeCompletion(javax.interceptor.InvocationContext invocationContext)
throws Exception
Exceptionpublic Method AfterCompletion() throws NoSuchMethodException
NoSuchMethodExceptionpublic void AfterCompletion(javax.interceptor.InvocationContext invocationContext)
throws Exception
Exceptionpublic static boolean isStatsActivated()
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.