|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface allowing extension to the Spring AOP framework to allow handling of new Advisors and Advice types.
Implementing objects can create AOP Alliance Interceptors from custom advice types, enabling these advice types to be used in the Spring AOP framework, which uses interception under the covers.
There is no need for most Spring users to implement this interface; do so only if you need to introduce more Advisor or Advice types to Spring.
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? |
Method Detail |
public boolean supportsAdvice(Advice advice)
advice
- Advice such as a BeforeAdvice.
public Interceptor getInterceptor(Advisor advisor)
Don't worry about any Pointcut contained in the Advisor; the AOP framework will take care of checking the pointcut.
advisor
- Advisor. the supportsAdvisor() method must have
returned true on this object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |