org.apache.openejb.monitoring
Class StatsInterceptor

java.lang.Object
  extended by org.apache.openejb.monitoring.StatsInterceptor

public class StatsInterceptor
extends Object

Version:
$Rev$ $Date$

Nested Class Summary
 class StatsInterceptor.Stats
           
 
Field Summary
static InterceptorData metadata
           
 
Constructor Summary
StatsInterceptor(Class<?> componentClass)
           
 
Method Summary
 Method AfterBegin()
           
 void AfterBegin(javax.interceptor.InvocationContext invocationContext)
           
 Method AfterCompletion()
           
 void AfterCompletion(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()
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metadata

public static final InterceptorData metadata
Constructor Detail

StatsInterceptor

public StatsInterceptor(Class<?> componentClass)
Method Detail

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.