org.apache.sirona.cdi
Class SironaInterceptor

java.lang.Object
  extended by org.apache.sirona.aop.AbstractPerformanceInterceptor<javax.interceptor.InvocationContext>
      extended by org.apache.sirona.cdi.SironaInterceptor
All Implemented Interfaces:
Serializable

@Interceptor
public class SironaInterceptor
extends AbstractPerformanceInterceptor<javax.interceptor.InvocationContext>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.sirona.aop.AbstractPerformanceInterceptor
AbstractPerformanceInterceptor.ActivationContext, AbstractPerformanceInterceptor.Context, AbstractPerformanceInterceptor.SerializableMethod
 
Field Summary
 
Fields inherited from class org.apache.sirona.aop.AbstractPerformanceInterceptor
CONTEXTS, monitorNameExtractor
 
Constructor Summary
SironaInterceptor()
           
 
Method Summary
protected  Object extractContextKey(javax.interceptor.InvocationContext invocation)
           
protected  String getCounterName(javax.interceptor.InvocationContext invocation)
           
 Object monitor(javax.interceptor.InvocationContext invocationContext)
           
protected  Object proceed(javax.interceptor.InvocationContext invocation)
           
 
Methods inherited from class org.apache.sirona.aop.AbstractPerformanceInterceptor
before, doFindContext, doInvoke, getCounterName, getKey, getOrCreateContext, getRole, isAdaptive, newContext, putAndGetActivationContext, setMonitorNameExtractor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SironaInterceptor

public SironaInterceptor()
Method Detail

monitor

public Object monitor(javax.interceptor.InvocationContext invocationContext)
               throws Throwable
Throws:
Throwable

proceed

protected Object proceed(javax.interceptor.InvocationContext invocation)
                  throws Throwable
Specified by:
proceed in class AbstractPerformanceInterceptor<javax.interceptor.InvocationContext>
Throws:
Throwable

getCounterName

protected String getCounterName(javax.interceptor.InvocationContext invocation)
Specified by:
getCounterName in class AbstractPerformanceInterceptor<javax.interceptor.InvocationContext>

extractContextKey

protected Object extractContextKey(javax.interceptor.InvocationContext invocation)
Overrides:
extractContextKey in class AbstractPerformanceInterceptor<javax.interceptor.InvocationContext>


Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.