Users who want merely to use the Spring AOP framework, rather than extend its capabilities, don't need to concern themselves with this package.
You may wish to use these adapters to wrap Spring-specific advices, such as MethodBeforeAdvice, in MethodInterceptor, to allow their use in another AOP framework supporting the AOP Alliance interfaces.
These adapters do not depend on any other Spring framework classes to allow such usage.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | AdvisorAdapter
Interface allowing extension to the Spring AOP framework to allow handling of new Advisors and Advice types. |
| public interface | AdvisorAdapterRegistry
Interface for registries of Advisor adapters. |
| Modifier and Type | Class and Description |
|---|---|
| public class | AdvisorAdapterRegistrationManager
BeanPostProcessor that registers |
| pack-priv class | AfterReturningAdviceAdapter
Adapter to enable |
| public class | AfterReturningAdviceInterceptor
Interceptor to wrap an |
| public class | DefaultAdvisorAdapterRegistry
Default implementation of the |
| public class | GlobalAdvisorAdapterRegistry
Singleton to publish a shared DefaultAdvisorAdapterRegistry instance. |
| pack-priv class | MethodBeforeAdviceAdapter
Adapter to enable |
| public class | MethodBeforeAdviceInterceptor
Interceptor to wrap a |
| pack-priv class | ThrowsAdviceAdapter
Adapter to enable |
| public class | ThrowsAdviceInterceptor
Interceptor to wrap an after-throwing advice. |
| public class | UnknownAdviceTypeException
Exception thrown when an attempt is made to use an unsupported Advisor or Advice type. |