类的使用
org.springframework.aop.target.AbstractBeanFactoryBasedTargetSource
org.springframework.aop.framework.autoproxy.target中AbstractBeanFactoryBasedTargetSource的使用
返回AbstractBeanFactoryBasedTargetSource的org.springframework.aop.framework.autoproxy.target中的方法 修饰符和类型 方法 说明 protected abstract AbstractBeanFactoryBasedTargetSourceAbstractBeanFactoryBasedTargetSourceCreator. 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, ornullif they are not interested it in, in which case no special target source will be created.protected AbstractBeanFactoryBasedTargetSourceLazyInitTargetSourceCreator. createBeanFactoryBasedTargetSource(Class<?> beanClass, String beanName)protected AbstractBeanFactoryBasedTargetSourceQuickTargetSourceCreator. createBeanFactoryBasedTargetSource(Class<?> beanClass, String beanName)org.springframework.aop.target中AbstractBeanFactoryBasedTargetSource的使用
org.springframework.aop.target中AbstractBeanFactoryBasedTargetSource的子类 修饰符和类型 类 说明 classAbstractPoolingTargetSourceAbstract base class for poolingTargetSourceimplementations which maintain a pool of target instances, acquiring and releasing a target object from the pool for each method invocation.classAbstractPrototypeBasedTargetSourceBase class for dynamicTargetSourceimplementations that create new prototype bean instances to support a pooling or new-instance-per-invocation strategy.classCommonsPool2TargetSourceTargetSourceimplementation that holds objects in a configurable Apache Commons2 Pool.classLazyInitTargetSourceTargetSourcethat lazily accesses a singleton bean from aBeanFactory.classPrototypeTargetSourceTargetSourceimplementation that creates a new instance of the target bean for each request, destroying each instance on release (after each request).classSimpleBeanTargetSourceSimpleTargetSourceimplementation, freshly obtaining the specified target bean from its containing SpringBeanFactory.classThreadLocalTargetSourceAlternative to an object pool.参数类型为AbstractBeanFactoryBasedTargetSource的org.springframework.aop.target中的方法 修饰符和类型 方法 说明 protected voidAbstractBeanFactoryBasedTargetSource. copyFrom(AbstractBeanFactoryBasedTargetSource other)Copy configuration from the other AbstractBeanFactoryBasedTargetSource object.