org.springframework.aop.framework.adapter
Class AfterReturningAdviceInterceptor
java.lang.Object
org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, java.io.Serializable
- public final class AfterReturningAdviceInterceptor
- extends java.lang.Object
- implements org.aopalliance.intercept.MethodInterceptor, java.io.Serializable
Interceptor to wrap a MethodAfterReturningAdvice. In future we may also offer
a more efficient alternative solution in cases where there is no interception
advice and therefore no need to create a MethodInvocation object.
Used internally by the AOP framework: application developers should not need
to use this class directly.
You can also use this class to wrap Spring AfterReurningAdvice implementations
for use in other AOP frameworks supporting the AOP Alliance
interfaces.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation mi)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AfterReturningAdviceInterceptor
public AfterReturningAdviceInterceptor(AfterReturningAdvice advice)
invoke
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation mi)
throws java.lang.Throwable
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
java.lang.Throwable
- See Also:
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
Copyright (C) 2003-2004 The Spring Framework Project.