org.apache.commons.monitoring.spring
Class AopaliancePerformanceInterceptor

java.lang.Object
  extended by org.apache.commons.monitoring.aop.AbstractPerformanceInterceptor<org.aopalliance.intercept.MethodInvocation>
      extended by org.apache.commons.monitoring.spring.AopaliancePerformanceInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class AopaliancePerformanceInterceptor
extends AbstractPerformanceInterceptor<org.aopalliance.intercept.MethodInvocation>
implements org.aopalliance.intercept.MethodInterceptor

Spring-aop implementation of PerformanceInterceptor.

Author:
Nicolas De Loof

Field Summary
 
Fields inherited from class org.apache.commons.monitoring.aop.AbstractPerformanceInterceptor
monitorNameExtractor
 
Constructor Summary
AopaliancePerformanceInterceptor()
           
 
Method Summary
protected  String getCounterName(org.aopalliance.intercept.MethodInvocation invocation)
           
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
protected  Object proceed(org.aopalliance.intercept.MethodInvocation invocation)
           
 
Methods inherited from class org.apache.commons.monitoring.aop.AbstractPerformanceInterceptor
doInvoke, getCounterName, setMonitorNameExtractor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AopaliancePerformanceInterceptor

public AopaliancePerformanceInterceptor()
Method Detail

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable

getCounterName

protected String getCounterName(org.aopalliance.intercept.MethodInvocation invocation)
Specified by:
getCounterName in class AbstractPerformanceInterceptor<org.aopalliance.intercept.MethodInvocation>

proceed

protected Object proceed(org.aopalliance.intercept.MethodInvocation invocation)
                  throws Throwable
Specified by:
proceed in class AbstractPerformanceInterceptor<org.aopalliance.intercept.MethodInvocation>
Throws:
Throwable


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