|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.aop.framework.adapter.AfterReturningAdviceAdapter
class 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 | |
|---|---|
AfterReturningAdviceAdapter()
|
|
| Method Summary | |
|---|---|
Interceptor |
getInterceptor(Advisor advisor)
Return an AOP Alliance Interceptor exposing the behavior 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)
AdvisorAdaptergetInterceptors method with an Advisor that
contains this advice as an argument?
supportsAdvice in interface AdvisorAdapteradvice - an Advice such as a BeforeAdvice
AdvisorAdapter.supportsAdvice(org.aopalliance.aop.Advice)public Interceptor getInterceptor(Advisor advisor)
AdvisorAdapterDon't worry about any Pointcut contained in the Advisor; the AOP framework will take care of checking the pointcut.
getInterceptor in interface AdvisorAdapteradvisor - the Advisor. The supportsAdvice() method must have
returned true on this object
AdvisorAdapter.getInterceptor(org.springframework.aop.Advisor)
|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||