Class RefreshAutoConfiguration.RefreshScopeBeanDefinitionEnhancer
- java.lang.Object
-
- org.springframework.cloud.autoconfigure.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 Summary
Constructors Modifier Constructor Description protectedRefreshScopeBeanDefinitionEnhancer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getRefreshable()voidpostProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)voidsetEnvironment(org.springframework.core.env.Environment environment)voidsetExtraRefreshable(Set<String> refreshables)voidsetRefreshable(Set<String> refreshables)
-
-
-
Method Detail
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
postProcessBeanFactoryin interfaceorg.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:
postProcessBeanDefinitionRegistryin interfaceorg.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor- Throws:
org.springframework.beans.BeansException
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
-