Class ContextRefresher
java.lang.Object
org.springframework.cloud.context.refresh.ContextRefresher
- Direct Known Subclasses:
ConfigDataContextRefresher, LegacyContextRefresher
- Author:
- Dave Syer, Venil Noronha
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String[]protected final org.apache.commons.logging.Log -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope) Deprecated.protectedContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope, RefreshAutoConfiguration.RefreshProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.core.env.StandardEnvironmentcopyEnvironment(org.springframework.core.env.ConfigurableEnvironment input) protected org.springframework.context.ConfigurableApplicationContextprotected RefreshScopegetScope()refresh()protected abstract void
-
Field Details
-
logger
protected final org.apache.commons.logging.Log logger -
DEFAULT_PROPERTY_SOURCES
-
standardSources
-
additionalPropertySourcesToRetain
-
-
Constructor Details
-
ContextRefresher
@Deprecated protected ContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope) Deprecated. -
ContextRefresher
protected ContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope, RefreshAutoConfiguration.RefreshProperties properties)
-
-
Method Details
-
getContext
protected org.springframework.context.ConfigurableApplicationContext getContext() -
getScope
-
refresh
-
refreshEnvironment
-
updateEnvironment
protected abstract void updateEnvironment() -
copyEnvironment
protected org.springframework.core.env.StandardEnvironment copyEnvironment(org.springframework.core.env.ConfigurableEnvironment input)
-