org.apache.openejb.monitoring
Class StatsInterceptor
java.lang.Object
org.apache.openejb.monitoring.StatsInterceptor
public class StatsInterceptor
- extends Object
- Version:
- $Rev$ $Date$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metadata
public static final InterceptorData metadata
StatsInterceptor
public StatsInterceptor(Class<?> componentClass)
isMonitoringEnabled
public boolean isMonitoringEnabled()
getInvocationCount
public long getInvocationCount()
getInvocationTime
public long getInvocationTime()
getMonitoredMethods
public long getMonitoredMethods()
stats
public Collection<StatsInterceptor.Stats> stats()
invoke
public Object invoke(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Throws:
Exception
PostConstruct
public Method PostConstruct()
throws NoSuchMethodException
- Throws:
NoSuchMethodException
PostConstruct
@PostConstruct
public void PostConstruct(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Throws:
Exception
PreDestroy
public Method PreDestroy()
throws NoSuchMethodException
- Throws:
NoSuchMethodException
PreDestroy
@PreDestroy
public void PreDestroy(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Throws:
Exception
PostActivate
public Method PostActivate()
throws NoSuchMethodException
- Throws:
NoSuchMethodException
PostActivate
public void PostActivate(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Throws:
Exception
PrePassivate
public Method PrePassivate()
throws NoSuchMethodException
- Throws:
NoSuchMethodException
PrePassivate
public void PrePassivate(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Throws:
Exception
AfterBegin
public Method AfterBegin()
throws NoSuchMethodException
- Throws:
NoSuchMethodException
AfterBegin
public void AfterBegin(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Throws:
Exception
BeforeCompletion
public Method BeforeCompletion()
throws NoSuchMethodException
- Throws:
NoSuchMethodException
BeforeCompletion
public void BeforeCompletion(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Throws:
Exception
AfterCompletion
public Method AfterCompletion()
throws NoSuchMethodException
- Throws:
NoSuchMethodException
AfterCompletion
public void AfterCompletion(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Throws:
Exception
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.