org.apache.commons.monitoring.spring
Class AopaliancePerformanceInterceptor
java.lang.Object
org.apache.commons.monitoring.aop.AbstractPerformanceInterceptor<org.aopalliance.intercept.MethodInvocation>
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AopaliancePerformanceInterceptor
public AopaliancePerformanceInterceptor()
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.