Class BeanFactoryRefreshableTargetSource

    • Constructor Detail

      • 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.

        Parameters:
        beanFactory - the BeanFactory to fetch beans from
        beanName - the name of the target bean