程序包 infra.aop.framework.adapter
@NonNullApi
@NonNullFields
package infra.aop.framework.adapter
SPI package allowing AOP framework to handle arbitrary advice types.
Users who want merely to use the 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 Framework-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 framework classes to allow such usage.
-
类说明Interface allowing extension to the AOP framework to allow handling of new Advisors and Advice types.BeanPostProcessor that registers
AdvisorAdapterbeans in the BeanFactory with anAdvisorAdapterRegistry(by default theDefaultAdvisorAdapterRegistry).Interface for registries of Advisor adapters.Adapter to enableAfterReturningAdviceto be used in the AOP framework.Interceptor to wrap anAfterReturningAdvice.Default implementation of theAdvisorAdapterRegistryinterface.Adapter to enableMethodBeforeAdviceto be used in the AOP framework.Interceptor to wrap aMethodBeforeAdvice.Adapter to enableThrowsAdviceto be used in the AOP framework.Interceptor to wrap an after-throwing advice.Exception thrown when an attempt is made to use an unsupported Advisor or Advice type.