Class ContextRefresher
- java.lang.Object
-
- org.springframework.cloud.context.refresh.ContextRefresher
-
- Direct Known Subclasses:
ConfigDataContextRefresher,LegacyContextRefresher
public abstract class ContextRefresher extends Object
- Author:
- Dave Syer, Venil Noronha
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classContextRefresher.Empty
-
Field Summary
Fields Modifier and Type Field Description protected List<String>additionalPropertySourcesToRetainprotected static String[]DEFAULT_PROPERTY_SOURCESprotected org.apache.commons.logging.Logloggerprotected static StringREFRESH_ARGS_PROPERTY_SOURCEprotected Set<String>standardSources
-
Constructor Summary
Constructors Modifier Constructor Description protectedContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope)Deprecated.protectedContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope, RefreshAutoConfiguration.RefreshProperties properties)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.springframework.core.env.StandardEnvironmentcopyEnvironment(org.springframework.core.env.ConfigurableEnvironment input)protected org.springframework.context.ConfigurableApplicationContextgetContext()protected RefreshScopegetScope()Set<String>refresh()Set<String>refreshEnvironment()protected abstract voidupdateEnvironment()
-
-
-
Field Detail
-
logger
protected final org.apache.commons.logging.Log logger
-
REFRESH_ARGS_PROPERTY_SOURCE
protected static final String REFRESH_ARGS_PROPERTY_SOURCE
- See Also:
- Constant Field Values
-
DEFAULT_PROPERTY_SOURCES
protected static final String[] DEFAULT_PROPERTY_SOURCES
-
-
Constructor Detail
-
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 Detail
-
getContext
protected org.springframework.context.ConfigurableApplicationContext getContext()
-
getScope
protected RefreshScope getScope()
-
updateEnvironment
protected abstract void updateEnvironment()
-
copyEnvironment
protected org.springframework.core.env.StandardEnvironment copyEnvironment(org.springframework.core.env.ConfigurableEnvironment input)
-
-