| org.springframework.aop.framework.adapter.AdvisorAdapterRegistry
All known Subclasses: org.springframework.aop.framework.adapter.DefaultAdvisorAdapterRegistry,
AdvisorAdapterRegistry | public interface AdvisorAdapterRegistry (Code) | | Interface for registries of Advisor adapters.
This is an SPI interface, not to be implemented by any Spring user.
author: Rod Johnson author: Rob Harrop |
getInterceptors | MethodInterceptor[] getInterceptors(Advisor advisor) throws UnknownAdviceTypeException(Code) | | Return an array of AOP Alliance MethodInterceptors to allow use of the
given Advisor in an interception-based framework.
Don't worry about the pointcut associated with the Advisor,
if it's a PointcutAdvisor: just return an interceptor.
Parameters: advisor - Advisor to find an interceptor for an array of MethodInterceptors to expose this Advisor's behavior throws: UnknownAdviceTypeException - if the Advisor type isnot understood by any registered AdvisorAdapter. |
registerAdvisorAdapter | void registerAdvisorAdapter(AdvisorAdapter adapter)(Code) | | Register the given AdvisorAdapter. Note that it is not necessary to register
adapters for an AOP Alliance Interceptors or Spring Advices: these must be
automatically recognized by an AdvisorAdapterRegistry implementation.
Parameters: adapter - AdvisorAdapter that understands a particular Advisoror Advice types |
|
|