public class

AspectJAfterReturningAdvice

extends AbstractAspectJAdvice
implements AfterAdvice AfterReturningAdvice
java.lang.Object
   ↳ org.springframework.aop.aspectj.AbstractAspectJAdvice
     ↳ org.springframework.aop.aspectj.AspectJAfterReturningAdvice

Class Overview

Spring AOP advice wrapping an AspectJ after-returning advice method.

Summary

[Expand]
Inherited Constants
From interface org.springframework.core.Ordered
[Expand]
Inherited Fields
From class org.springframework.aop.aspectj.AbstractAspectJAdvice
Public Constructors
AspectJAfterReturningAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
Public Methods
void afterReturning(Object returnValue, Method method, Object[] args, Object target)
Callback after a given method successfully returned.
boolean isAfterAdvice()
boolean isBeforeAdvice()
void setReturningName(String name)
[Expand]
Inherited Methods
From class org.springframework.aop.aspectj.AbstractAspectJAdvice
From class java.lang.Object
From interface org.springframework.aop.AfterReturningAdvice
From interface org.springframework.aop.aspectj.AspectJPrecedenceInformation
From interface org.springframework.core.Ordered

Public Constructors

public AspectJAfterReturningAdvice (Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)

Public Methods

public void afterReturning (Object returnValue, Method method, Object[] args, Object target)

Callback after a given method successfully returned.

Parameters
returnValue the value returned by the method, if any
method method being invoked
args arguments to the method
target target of the method invocation. May be null.
Throws
Throwable

public boolean isAfterAdvice ()

public boolean isBeforeAdvice ()

public void setReturningName (String name)