类的使用
infra.aop.target.AbstractBeanFactoryTargetSource
-
infra.aop.framework.autoproxy.target中AbstractBeanFactoryTargetSource的使用
修饰符和类型方法说明protected abstract AbstractBeanFactoryTargetSourceAbstractBeanFactoryTargetSourceCreator.createBeanFactoryTargetSource(Class<?> beanClass, String beanName) Subclasses must implement this method to return a new AbstractPrototypeTargetSource 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 AbstractBeanFactoryTargetSourceLazyInitTargetSourceCreator.createBeanFactoryTargetSource(Class<?> beanClass, String beanName) protected final AbstractBeanFactoryTargetSourceQuickTargetSourceCreator.createBeanFactoryTargetSource(Class<?> beanClass, String beanName) -
infra.aop.target中AbstractBeanFactoryTargetSource的使用
修饰符和类型类说明classAbstract base class for poolingTargetSourceimplementations which maintain a pool of target instances, acquiring and releasing a target object from the pool for each method invocation.classBase class for dynamicTargetSourceimplementations that create new prototype bean instances to support a pooling or new-instance-per-invocation strategy.classTargetSourceimplementation that holds objects in a configurable Apache Commons2 Pool.classTargetSourcethat lazily accesses a singleton bean from aBeanFactory.classTargetSourceimplementation that creates a new instance of the target bean for each request, destroying each instance on release (after each request).classSimpleTargetSourceimplementation, freshly obtaining the specified target bean from its containingBeanFactory.classAlternative to an object pool.修饰符和类型方法说明protected voidAbstractBeanFactoryTargetSource.copyFrom(AbstractBeanFactoryTargetSource other) Copy configuration from the other AbstractBeanFactoryBasedTargetSource object.