- All Known Implementing Classes:
public interface AdvisorAdapterRegistry
Interface for registries of Advisor adapters.
This is an SPI interface, not to be implemented by any Spring user.
- Rod Johnson, Rob Harrop
Advisorwrapping the given advice.
advice- an object that should be an advice
- an Advisor wrapping the given advice (never
null; if the advice parameter is an Advisor, it is to be returned as-is)
UnknownAdviceTypeException- if no registered advisor adapter can wrap the supposed advice
getInterceptorsReturn an array of AOP Alliance MethodInterceptors to allow use of the given Advisor in an interception-based framework.
advisor- the Advisor to find an interceptor for
- an array of MethodInterceptors to expose this Advisor's behavior
UnknownAdviceTypeException- if the Advisor type is not understood by any registered AdvisorAdapter
(AdvisorAdapter adapter)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
adapter- an AdvisorAdapter that understands particular Advisor or Advice types