Package | Description |
---|---|
org.springframework.aop.framework.autoproxy.target | |
org.springframework.aop.target |
Modifier and Type | Method and Description |
---|---|
protected AbstractBeanFactoryBasedTargetSource |
QuickTargetSourceCreator.createBeanFactoryBasedTargetSource(Class<?> beanClass,
String beanName) |
protected AbstractBeanFactoryBasedTargetSource |
LazyInitTargetSourceCreator.createBeanFactoryBasedTargetSource(Class<?> beanClass,
String beanName) |
protected abstract AbstractBeanFactoryBasedTargetSource |
AbstractBeanFactoryBasedTargetSourceCreator.createBeanFactoryBasedTargetSource(Class<?> beanClass,
String beanName)
Subclasses must implement this method to return a new AbstractPrototypeBasedTargetSource
if they wish to create a custom TargetSource for this bean, or
null if they are
not interested it in, in which case no special target source will be created. |
Modifier and Type | Class and Description |
---|---|
class |
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. |
class |
AbstractPrototypeBasedTargetSource
Base class for dynamic
TargetSource implementations
that create new prototype bean instances to support a pooling or
new-instance-per-invocation strategy. |
class |
CommonsPool2TargetSource
TargetSource implementation that holds
objects in a configurable Apache Commons2 Pool. |
class |
LazyInitTargetSource
TargetSource that lazily accesses a
singleton bean from a BeanFactory . |
class |
PrototypeTargetSource
TargetSource implementation that
creates a new instance of the target bean for each request,
destroying each instance on release (after each request). |
class |
SimpleBeanTargetSource
Simple
TargetSource implementation,
freshly obtaining the specified target bean from its containing
Spring BeanFactory . |
class |
ThreadLocalTargetSource
Alternative to an object pool.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBeanFactoryBasedTargetSource.copyFrom(AbstractBeanFactoryBasedTargetSource other)
Copy configuration from the other AbstractBeanFactoryBasedTargetSource object.
|