org.springframework.aop.framework.adapter
Class AfterReturningAdviceInterceptor


final class AfterReturningAdviceInterceptor
implements MethodInterceptor

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.

Author:
Rod Johnson
Version: $Id: AfterReturningAdviceInterceptor.java,v 1.1 2004/01/05 18:47:00 johnsonr Exp $

Constructor Summary
AfterReturningAdviceInterceptor(MethodAfterReturningAdvice advice)
           

Method Summary
 Objectinvoke(MethodInvocation mi)
           

Constructor Detail

AfterReturningAdviceInterceptor

public AfterReturningAdviceInterceptor(MethodAfterReturningAdvice advice)
Method Detail

invoke

public Object invoke(MethodInvocation mi)
throws java.lang.Throwable
See Also:
org.aopalliance.intercept.MethodInterceptor#invoke(org.aopalliance.intercept.MethodInvocation)

Association Links

to Class org.springframework.aop.MethodAfterReturningAdvice