| java.lang.Object | |
| ↳ | org.springframework.aop.framework.adapter.DefaultAdvisorAdapterRegistry |
Default implementation of the AdvisorAdapterRegistry interface.
Supports org.aopalliance.intercept.MethodInterceptor,
MethodBeforeAdvice,
AfterReturningAdvice,
ThrowsAdvice.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new DefaultAdvisorAdapterRegistry, registering well-known adapters.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return an array of AOP Alliance MethodInterceptors to allow use of the
given Advisor in an interception-based framework.
| |||||||||||
Register the given AdvisorAdapter.
| |||||||||||
Return an Advisor wrapping the given advice.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.framework.adapter.AdvisorAdapterRegistry
| |||||||||||
Create a new DefaultAdvisorAdapterRegistry, registering well-known adapters.
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.
| advisor | Advisor to find an interceptor for |
|---|
| UnknownAdviceTypeException |
|---|
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.
| adapter | AdvisorAdapter that understands a particular Advisor or Advice types |
|---|
Return an Advisor wrapping the given advice.
Should by default at least support
org.aopalliance.intercept.MethodInterceptor,
MethodBeforeAdvice,
AfterReturningAdvice,
ThrowsAdvice.
| adviceObject | object that should be an advice |
|---|
null.
If the advice parameter is an Advisor, return it.| UnknownAdviceTypeException |
|---|