类 BeanFactoryRefreshableTargetSource

java.lang.Object
cn.taketoday.aop.target.AbstractRefreshableTargetSource
cn.taketoday.aop.target.BeanFactoryRefreshableTargetSource
所有已实现的接口:
Refreshable, TargetClassAware, TargetSource

public class BeanFactoryRefreshableTargetSource extends AbstractRefreshableTargetSource
Refreshable TargetSource that fetches fresh target beans from a BeanFactory.

Can be subclassed to override requiresRefresh() to suppress unnecessary refreshes. By default, a refresh will be performed every time the "refreshCheckDelay" has elapsed.

从以下版本开始:
3.0
作者:
Rob Harrop, Rod Johnson, Juergen Hoeller, Mark Fisher, TODAY 2021/2/1 21:23
另请参阅:
  • 构造器详细资料

    • BeanFactoryRefreshableTargetSource

      public BeanFactoryRefreshableTargetSource(BeanFactory beanFactory, String beanName)
      Create a new BeanFactoryRefreshableTargetSource for the given bean factory and bean name.

      Note that the passed-in BeanFactory should have an appropriate bean definition set up for the given bean name.

      参数:
      beanFactory - the BeanFactory to fetch beans from
      beanName - the name of the target bean
  • 方法详细资料