接口 BeanFactoryPostProcessor

    • 方法详细资料

      • postProcessBeanFactory

        void postProcessBeanFactory​(ConfigurableListableBeanFactory beanFactory)
                             throws BeansException
        Modify the application context's internal bean factory after its standard initialization. All bean definitions will have been loaded, but no beans will have been instantiated yet. This allows for overriding or adding properties even to eager-initializing beans.
        参数:
        beanFactory - the bean factory used by the application context
        抛出:
        BeansException - in case of errors