public final class AdviseReturnedValueAdvice extends Object implements org.aopalliance.intercept.MethodInterceptor
Constructor and Description |
---|
AdviseReturnedValueAdvice() |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) |
void |
setAdvisor(org.springframework.aop.Advisor advisor)
Deprecated.
since 5.6 Use
setReturnValueAdvisor(org.springframework.aop.Advisor) |
void |
setInvokedMethodMatcher(org.springframework.aop.MethodMatcher invokedMethodMatcher) |
void |
setProxyInterface(Class proxyInterface) |
void |
setReturnValueAdvisor(org.springframework.aop.Advisor returnValueAdvisor) |
@Deprecated public void setAdvisor(org.springframework.aop.Advisor advisor)
setReturnValueAdvisor(org.springframework.aop.Advisor)
advisor
- Advisor for returned valuepublic void setInvokedMethodMatcher(org.springframework.aop.MethodMatcher invokedMethodMatcher)
invokedMethodMatcher
- specifies which methods on the target object should have their return value advisedpublic void setReturnValueAdvisor(org.springframework.aop.Advisor returnValueAdvisor)
advisor
- Advisor for returned valuepublic void setProxyInterface(Class proxyInterface)
proxyInterface
- Interface to advise on returned valueCopyright © 2003–2017 Atlassian. All rights reserved.