|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.framework.adapter.AfterReturningAdviceAdapter
Adapter to enable AfterReturningAdvisor and MethodAfterReturningAdvice to be used in the Spring AOP framework.
This involves wrapping these advice types in interceptors.
Constructor Summary | |
(package private) |
AfterReturningAdviceAdapter()
|
Method Summary | |
Interceptor |
getInterceptor(Advisor advisor)
Return an AOP Alliance Interceptor exposing the behaviour of the given advice to an interception-based AOP framework. |
boolean |
supportsAdvice(Advice advice)
Does this adapter understand this advice object? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
AfterReturningAdviceAdapter()
Method Detail |
public boolean supportsAdvice(Advice advice)
AdvisorAdapter
supportsAdvice
in interface AdvisorAdapter
advice
- Advice such as a BeforeAdvice.
AdvisorAdapter.supportsAdvice(org.aopalliance.aop.Advice)
public Interceptor getInterceptor(Advisor advisor)
AdvisorAdapter
Don't worry about any Pointcut contained in the Advisor; the AOP framework will take care of checking the pointcut.
getInterceptor
in interface AdvisorAdapter
advisor
- Advisor. the supportsAdvisor() method must have
returned true on this object
AdvisorAdapter.getInterceptor(org.springframework.aop.Advisor)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |