Top Description Interfaces Classes
module spring.aop

Package org.springframework.aop.target

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

Various org.springframework.aop.TargetSource implementations for use with Spring AOP.

Interface Summary

Modifier and TypeInterface and Description
public interface
PoolingConfig

Config interface for a pooling target source.

public interface
ThreadLocalTargetSourceStats

Statistics for a ThreadLocal TargetSource.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractBeanFactoryBasedTargetSource

Base class for org.springframework.aop.TargetSource implementations that are based on a Spring org.springframework.beans.factory.BeanFactory, delegating to Spring-managed bean instances.

public abstract class
AbstractLazyCreationTargetSource

org.springframework.aop.TargetSource implementation that will lazily create a user-managed object.

public abstract class
AbstractPoolingTargetSource

Abstract base class for pooling org.springframework.aop.TargetSource implementations which maintain a pool of target instances, acquiring and releasing a target object from the pool for each method invocation.

public abstract class
AbstractPrototypeBasedTargetSource

Base class for dynamic org.springframework.aop.TargetSource implementations that create new prototype bean instances to support a pooling or new-instance-per-invocation strategy.

public class
CommonsPool2TargetSource

org.springframework.aop.TargetSource implementation that holds objects in a configurable Apache Commons2 Pool.

public class
EmptyTargetSource

Canonical TargetSource when there is no target (or just the target class known), and behavior is supplied by interfaces and advisors only.

public class
HotSwappableTargetSource

org.springframework.aop.TargetSource implementation that caches a local target object, but allows the target to be swapped while the application is running.

public class
public class
PrototypeTargetSource

org.springframework.aop.TargetSource implementation that creates a new instance of the target bean for each request, destroying each instance on release (after each request).

public class
SimpleBeanTargetSource

Simple org.springframework.aop.TargetSource implementation, freshly obtaining the specified target bean from its containing Spring org.springframework.beans.factory.BeanFactory.

public class
SingletonTargetSource

Implementation of the org.springframework.aop.TargetSource interface that holds a given object.

public class
ThreadLocalTargetSource

Alternative to an object pool.