Top Description Interfaces Classes
module spring.aop

Package org.springframework.aop.framework.autoproxy

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

Bean post-processors for use in ApplicationContexts to simplify AOP usage by automatically creating AOP proxies without the need to use a ProxyFactoryBean.

The various post-processors in this package need only be added to an ApplicationContext (typically in an XML bean definition document) to automatically proxy selected beans.

NB: Automatic auto-proxying is not supported for BeanFactory implementations, as post-processors beans are only automatically detected in application contexts. Post-processors can be explicitly registered on a ConfigurableBeanFactory instead.

Interface Summary

Modifier and TypeInterface and Description
public interface
TargetSourceCreator

Implementations can create special target sources, such as pooling target sources, for particular beans.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractAdvisorAutoProxyCreator

Generic auto proxy creator that builds AOP proxies for specific beans based on detected Advisors for each bean.

public abstract class
AbstractAutoProxyCreator

org.springframework.beans.factory.config.BeanPostProcessor implementation that wraps each eligible bean with an AOP proxy, delegating to specified interceptors before invoking the bean itself.

public abstract class
AbstractBeanFactoryAwareAdvisingPostProcessor

Extension of AbstractAutoProxyCreator which implements BeanFactoryAware, adds exposure of the original target class for each proxied bean (AutoProxyUtils#ORIGINAL_TARGET_CLASS_ATTRIBUTE), and participates in an externally enforced target-class mode for any given bean (AutoProxyUtils#PRESERVE_TARGET_CLASS_ATTRIBUTE).

public abstract class
AutoProxyUtils

Utilities for auto-proxy aware components.

public class
BeanFactoryAdvisorRetrievalHelper

Helper for retrieving standard Spring Advisors from a BeanFactory, for use with auto-proxying.

public class
BeanNameAutoProxyCreator

Auto proxy creator that identifies beans to proxy via a list of names.

public class
DefaultAdvisorAutoProxyCreator

BeanPostProcessor implementation that creates AOP proxies based on all candidate Advisors in the current BeanFactory.

public class
InfrastructureAdvisorAutoProxyCreator

Auto-proxy creator that considers infrastructure Advisor beans only, ignoring any application-defined Advisors.

public class
ProxyCreationContext

Holder for the current proxy creation context, as exposed by auto-proxy creators such as AbstractAdvisorAutoProxyCreator.