Class AdviseReturnedValueAdvice
java.lang.Object
com.atlassian.confluence.spring.aop.AdviseReturnedValueAdvice
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
public final class AdviseReturnedValueAdvice
extends Object
implements org.aopalliance.intercept.MethodInterceptor
Simple AOP advice for adding advice to the returned value of advised methods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke(org.aopalliance.intercept.MethodInvocation methodInvocation) voidsetInvokedMethodMatcher(org.springframework.aop.MethodMatcher invokedMethodMatcher) voidsetProxyInterface(Class proxyInterface) voidsetReturnValueAdvisor(org.springframework.aop.Advisor advisor)
-
Constructor Details
-
AdviseReturnedValueAdvice
public AdviseReturnedValueAdvice()
-
-
Method Details
-
setInvokedMethodMatcher
public void setInvokedMethodMatcher(org.springframework.aop.MethodMatcher invokedMethodMatcher) - Parameters:
invokedMethodMatcher- specifies which methods on the target object should have their return value advised
-
setReturnValueAdvisor
public void setReturnValueAdvisor(org.springframework.aop.Advisor advisor) - Parameters:
advisor- Advisor for returned value
-
setProxyInterface
- Parameters:
proxyInterface- Interface to advise on returned value
-
invoke
- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
Throwable
-