站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

org.springframework.aop.target (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


Package org.springframework.aop.target

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

See:
          Description

Interface Summary
PoolingConfig Config interface for a pooling target source.
ThreadLocalTargetSourceStats Statistics for a ThreadLocal TargetSource.
 

Class Summary
AbstractBeanFactoryBasedTargetSource Base class for TargetSource implementations that are based on a Spring BeanFactory, delegating to Spring-managed bean instances.
AbstractLazyCreationTargetSource TargetSource implementation that will lazily create a user-managed object.
AbstractLazyInitTargetSource Deprecated. since Spring 1.2.7: use AbstractLazyCreationTargetSource instead
AbstractPoolingTargetSource Abstract base class for pooling TargetSource implementations which maintain a pool of target instances, acquiring and releasing a target object from the pool for each method invocation.
AbstractPrototypeBasedTargetSource Base class for dynamic TargetSources that can create new prototype bean instances to support a pooling or new-instance-per-invocation strategy.
CommonsPoolTargetSource TargetSource implementation that holds objects in a configurable Jakarta Commons Pool.
EmptyTargetSource Canonical TargetSource when there's no target, and behavior is supplied by interfaces and advisors.
HotSwappableTargetSource TargetSource implementation that caches a local target object, but allows the target to be swapped while the application is running.
LazyInitTargetSource TargetSource that lazily accesses a singleton bean from a BeanFactory.
PrototypeTargetSource TargetSource that creates a new instance of the target bean for each request.
SingletonTargetSource Implementation of the TargetSource interface that holds a given object.
ThreadLocalTargetSource Alternative 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.



Copyright (c) 2002-2007 The Spring Framework Project.