org.springframework.aop.framework.autoproxy.target
Class AbstractPoolingTargetSourceCreator

public class AbstractPoolingTargetSourceCreator
extends AbstractBeanFactoryBasedTargetSourceCreator
Convenient superclass for TargetSource creators that create pooling TargetSources.
SinceNot specified.
VersionNot specified.
AuthorRod Johnson, Juergen Hoeller
Wiki javadoc Use textile entry format.
Add your comments here.
Fields inherited from org.springframework.aop.framework.autoproxy.targetAbstractBeanFactoryBasedTargetSourceCreator
Method Summary
protected AbstractBeanFactoryBasedTargetSource createBeanFactoryBasedTargetSource( Class beanClass, String beanName )
No description provided.
protected PoolingAttribute getPoolingAttribute( Class beanClass, String beanName )
Create a PoolingAttribute for the given bean, if any.
protected AbstractPoolingTargetSource newPoolingTargetSource( PoolingAttribute poolingAttribute )
Create a new AbstractPoolingTargetSource.
Methods inherited from org.springframework.beans.factoryBeanFactoryAware
Methods inherited from org.springframework.beans.factoryDisposableBean
Methods inherited from org.springframework.aop.framework.autoproxyTargetSourceCreator
AbstractPoolingTargetSourceCreator
public AbstractPoolingTargetSourceCreator ( )
No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
createBeanFactoryBasedTargetSource
protected AbstractBeanFactoryBasedTargetSource createBeanFactoryBasedTargetSource ( Class beanClass, String beanName )
No description provided.
Parameters
TypeNameDescription
Class beanClass No description provided.
String beanName No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
getPoolingAttribute
protected PoolingAttribute getPoolingAttribute ( Class beanClass, String beanName )
Create a PoolingAttribute for the given bean, if any.
Parameters
TypeNameDescription
Class beanClass the class of the bean to create a TargetSource for
String beanName the name of the bean
Wiki javadoc Use textile entry format.
Add your comments here.
newPoolingTargetSource
protected AbstractPoolingTargetSource newPoolingTargetSource ( PoolingAttribute poolingAttribute )
Create a new AbstractPoolingTargetSource. This implementation creates a CommonsPoolTargetSource, but subclasses may wish to override that behavior (potentially even using different pools for specific PoolingAttribute subclasses).

The created AbstractPoolingTargetSource does not have to be configured, This will all be handled by this TargetSourceCreator and its base class.

Parameters
TypeNameDescription
PoolingAttribute poolingAttribute No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.