Top Description Interfaces Classes
module spring.aop

Package org.springframework.aop.framework.adapter

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

SPI package allowing Spring AOP framework to handle arbitrary advice types.

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.

Interface Summary

Modifier and TypeInterface 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.

Class Summary

Modifier and TypeClass and Description
public class
AdvisorAdapterRegistrationManager

BeanPostProcessor that registers AdvisorAdapter beans in the BeanFactory with an AdvisorAdapterRegistry (by default the GlobalAdvisorAdapterRegistry).

pack-priv class
AfterReturningAdviceAdapter

Adapter to enable org.springframework.aop.AfterReturningAdvice to be used in the Spring AOP framework.

public class
public class
DefaultAdvisorAdapterRegistry

Default implementation of the AdvisorAdapterRegistry interface.

public class
GlobalAdvisorAdapterRegistry

Singleton to publish a shared DefaultAdvisorAdapterRegistry instance.

pack-priv class
MethodBeforeAdviceAdapter

Adapter to enable org.springframework.aop.MethodBeforeAdvice to be used in the Spring AOP framework.

public class
pack-priv class
ThrowsAdviceAdapter

Adapter to enable org.springframework.aop.ThrowsAdvice to be used in the Spring AOP framework.

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.