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

AttributesPoolingTargetSourceCreator (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.aop.framework.autoproxy.metadata
Class AttributesPoolingTargetSourceCreator

java.lang.Object
  extended by org.springframework.aop.framework.autoproxy.target.AbstractBeanFactoryBasedTargetSourceCreator
      extended by org.springframework.aop.framework.autoproxy.target.AbstractPoolingTargetSourceCreator
          extended by org.springframework.aop.framework.autoproxy.metadata.AttributesPoolingTargetSourceCreator
All Implemented Interfaces:
TargetSourceCreator, BeanFactoryAware, DisposableBean

public class AttributesPoolingTargetSourceCreator
extends AbstractPoolingTargetSourceCreator

PoolingTargetSourceCreator driven by metadata.

Author:
Rod Johnson

Field Summary
 
Fields inherited from class org.springframework.aop.framework.autoproxy.target.AbstractBeanFactoryBasedTargetSourceCreator
logger
 
Constructor Summary
AttributesPoolingTargetSourceCreator()
          Create a new AttributesPoolingTargetSourceCreator.
AttributesPoolingTargetSourceCreator(Attributes attributes)
          Create a new AttributesPrototypeTargetSourceCreator.
 
Method Summary
 void afterPropertiesSet()
           
protected  PoolingAttribute getPoolingAttribute(Class beanClass, String beanName)
          Create a PoolingAttribute for the given bean, if any.
 void setAttributes(Attributes attributes)
          Set the Attributes implementation to use.
 
Methods inherited from class org.springframework.aop.framework.autoproxy.target.AbstractPoolingTargetSourceCreator
createBeanFactoryBasedTargetSource, newPoolingTargetSource
 
Methods inherited from class org.springframework.aop.framework.autoproxy.target.AbstractBeanFactoryBasedTargetSourceCreator
destroy, getBeanFactory, getTargetSource, isPrototypeBased, setBeanFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesPoolingTargetSourceCreator

public AttributesPoolingTargetSourceCreator()
Create a new AttributesPoolingTargetSourceCreator.

See Also:
setAttributes(org.springframework.metadata.Attributes)

AttributesPoolingTargetSourceCreator

public AttributesPoolingTargetSourceCreator(Attributes attributes)
Create a new AttributesPrototypeTargetSourceCreator.

Parameters:
attributes - the Attributes implementation to use
Method Detail

setAttributes

public void setAttributes(Attributes attributes)
Set the Attributes implementation to use.


afterPropertiesSet

public void afterPropertiesSet()

getPoolingAttribute

protected PoolingAttribute getPoolingAttribute(Class beanClass,
                                               String beanName)
Description copied from class: AbstractPoolingTargetSourceCreator
Create a PoolingAttribute for the given bean, if any.

Specified by:
getPoolingAttribute in class AbstractPoolingTargetSourceCreator
Parameters:
beanClass - the class of the bean to create a TargetSource for
beanName - the name of the bean
Returns:
the PoolingAttribute, or null for no pooling


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