Package org.springframework.aop.target

This package contains implementations of the org.springframework.aop.TargetSource interface.

See
          Description

Class Diagram Summary
target 
 

Interface Summary
PoolingConfigConfig interface for a pooling invoker.
ThreadLocalTargetSourceStatsStatistics for a ThreadLocal TargetSource.
 

Class Summary
AbstractPoolingTargetSourceAbstract uperclass for pooling TargetSources that maintains a pool of target instances, acquiring and releasing a target object from the pool for each method invocation.
AbstractPrototypeTargetSourceBase class for dynamic TargetSources that can create new prototype bean instances to support a pooling or new-instance-per-invocation strategy.
CommonsPoolTargetSourceJakarta Commons pooling implementation extending AbstractPoolingInvokerInterceptor
HotSwappableTargetSourceImplementation of TargetSource interface that caches a local target object, but allows the target to be swapped while the application is running.
PrototypeTargetSourceTargetSource that creates a new instance of the target bean for each request.
SingletonTargetSourceImplementation of the TargetSource interface that holds a local object.
ThreadLocalTargetSourceAlternative to an object pool.
 

Package org.springframework.aop.target Description

This package contains implementations of the org.springframework.aop.TargetSource interface.
The simplest implementation is the SingletonTargetSource, used by default in the AOP framework to wrap a single target instance. This is normally appropriate.
Other provided implementations include pooling implementations, that provide a target from a pool for each request, ensuring a single threaded programming model; and a "prototype" implementation, that uses a new target instance for each invocation.