org.springframework.aop.framework.adapter
class: AfterReturningAdviceAdapter [javadoc |
source]
java.lang.Object
org.springframework.aop.framework.adapter.AfterReturningAdviceAdapter
All Implemented Interfaces:
AdvisorAdapter, Serializable
Adapter to enable
org.springframework.aop.AfterReturningAdvice
to be used in the Spring AOP framework.
- author:
Rod - Johnson
- author:
Juergen - Hoeller
| Method from org.springframework.aop.framework.adapter.AfterReturningAdviceAdapter Detail: |
public MethodInterceptor getInterceptor(Advisor advisor) {
AfterReturningAdvice advice = (AfterReturningAdvice) advisor.getAdvice();
return new AfterReturningAdviceInterceptor(advice);
}
|
public boolean supportsAdvice(Advice advice) {
return (advice instanceof AfterReturningAdvice);
}
|