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 Constructor Description AdviseReturnedValueAdvice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
void
setInvokedMethodMatcher(org.springframework.aop.MethodMatcher invokedMethodMatcher)
void
setProxyInterface(Class proxyInterface)
void
setReturnValueAdvisor(org.springframework.aop.Advisor advisor)
-
-
-
Method Detail
-
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
public void setProxyInterface(Class proxyInterface)
- Parameters:
proxyInterface
- Interface to advise on returned value
-
-