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

java.lang.Object
  extended byorg.springframework.aop.framework.autoproxy.target.AbstractPrototypeBasedTargetSourceCreator
      extended byorg.springframework.aop.framework.autoproxy.target.AbstractPoolingTargetSourceCreator
          extended byorg.springframework.aop.framework.autoproxy.metadata.AttributesPoolingTargetSourceCreator
All Implemented Interfaces:
TargetSourceCreator

public class AttributesPoolingTargetSourceCreator
extends AbstractPoolingTargetSourceCreator

PoolingTargetSourceCreator driven by metadata.

Author:
Rod Johnson

Field Summary
 
Fields inherited from class org.springframework.aop.framework.autoproxy.target.AbstractPrototypeBasedTargetSourceCreator
logger
 
Constructor Summary
AttributesPoolingTargetSourceCreator(Attributes attributes)
           
 
Method Summary
protected  PoolingAttribute getPoolingAttribute(Object bean, String beanName, BeanFactory beanFactory)
          Create a PoolingAttribute for the given bean, if any.
 
Methods inherited from class org.springframework.aop.framework.autoproxy.target.AbstractPoolingTargetSourceCreator
createPrototypeTargetSource, newPoolingTargetSource
 
Methods inherited from class org.springframework.aop.framework.autoproxy.target.AbstractPrototypeBasedTargetSourceCreator
getTargetSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesPoolingTargetSourceCreator

public AttributesPoolingTargetSourceCreator(Attributes attributes)
Method Detail

getPoolingAttribute

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

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


Copyright (C) 2003-2004 The Spring Framework Project.