Class RefreshAutoConfiguration.RefreshScopeBeanDefinitionEnhancer

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.EnvironmentAware
    Enclosing class:
    RefreshAutoConfiguration

    @Component
    protected static class RefreshAutoConfiguration.RefreshScopeBeanDefinitionEnhancer
    extends Object
    implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.EnvironmentAware
    • Constructor Detail

      • RefreshScopeBeanDefinitionEnhancer

        protected RefreshScopeBeanDefinitionEnhancer()
    • Method Detail

      • getRefreshable

        public Set<String> getRefreshable()
      • setRefreshable

        public void setRefreshable​(Set<String> refreshables)
      • setExtraRefreshable

        public void setExtraRefreshable​(Set<String> refreshables)
      • postProcessBeanFactory

        public void postProcessBeanFactory​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                                    throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • postProcessBeanDefinitionRegistry

        public void postProcessBeanDefinitionRegistry​(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
                                               throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeanDefinitionRegistry in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        Specified by:
        setEnvironment in interface org.springframework.context.EnvironmentAware