Class ConfigDataContextRefresher
java.lang.Object
org.springframework.cloud.context.refresh.ContextRefresher
org.springframework.cloud.context.refresh.ConfigDataContextRefresher
- All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<ContextRefreshedWithApplicationEvent>
public class ConfigDataContextRefresher
extends ContextRefresher
implements org.springframework.context.ApplicationListener<ContextRefreshedWithApplicationEvent>
- Author:
- Dave Syer, Venil Noronha
-
Nested Class Summary
Nested classes/interfaces inherited from class ContextRefresher
ContextRefresher.Empty -
Field Summary
Fields inherited from class ContextRefresher
additionalPropertySourcesToRetain, DEFAULT_PROPERTY_SOURCES, logger, standardSources -
Constructor Summary
ConstructorsConstructorDescriptionConfigDataContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope) Deprecated.ConfigDataContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope, RefreshAutoConfiguration.RefreshProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidMethods inherited from class ContextRefresher
copyEnvironment, getContext, getScope, refresh, refreshEnvironmentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
ConfigDataContextRefresher
@Deprecated public ConfigDataContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope) Deprecated. -
ConfigDataContextRefresher
public ConfigDataContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope, RefreshAutoConfiguration.RefreshProperties properties)
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<ContextRefreshedWithApplicationEvent>
-
updateEnvironment
protected void updateEnvironment()- Specified by:
updateEnvironmentin classContextRefresher
-