当前页面:
在线文档首页 >
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
org.springframework.aop.framework.autoproxy.target.AbstractBeanFactoryBasedTargetSourceCreator
org.springframework.aop.framework.autoproxy.target.AbstractPoolingTargetSourceCreator
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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 forbeanName
- the name of the bean
- Returns:
- the PoolingAttribute, or
null
for no pooling
Copyright (c) 2002-2007 The Spring Framework Project.