org.springframework.aop
Interface AfterReturningAdvisor

All Known Implementing Classes:
DefaultAfterReturningAdvisor, StaticMethodMatcherPointcutAfterReturningAdvisor

public interface AfterReturningAdvisor
extends PointcutAdvisor

Advisor that delivers after returning advice: executed on method execution without an exception being thrown. Such advice is targeted by a pointcut.

After returning advice is less general than around advice. Anything that can be done with after returning advice can be done with around advice. However, there is still value in offering after advice, as it provides a simpler programming model (no need to invoke the next in a chain of interceptors).

Author:
Rod Johnson
Version: $Id: AfterReturningAdvisor.java,v 1.2 2004/01/14 10:31:38 johnsonr Exp $

Method Summary
 AfterReturningAdvicegetAfterReturningAdvice()
           

Methods inherited from interface org.springframework.aop.PointcutAdvisor
getPointcut

Methods inherited from interface org.springframework.aop.Advisor
isPerInstance

Method Detail

getAfterReturningAdvice

public AfterReturningAdvice getAfterReturningAdvice()
Returns: the after advice that should be executed if the pointcut is matched