public abstract class AbstractConfigListener extends Object implements ManagementListener
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
AbstractConfigListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterConfigLoaded(ConfigKey key,
ConfigSource configSource,
List<ConfigSource> configSourceList)
Do something when loaded config
|
void |
beforeConfigLoading(ConfigKey configKey,
List<ConfigSource> configSources)
Do some thing before loading config
|
void |
onLoadDefaultValue(ConfigKey key,
Object defaultValue)
Do something when loaded defaultValue
|
public void beforeConfigLoading(ConfigKey configKey, List<ConfigSource> configSources)
ManagementListenerbeforeConfigLoading in interface ManagementListenerpublic void afterConfigLoaded(ConfigKey key, ConfigSource configSource, List<ConfigSource> configSourceList)
ManagementListenerafterConfigLoaded in interface ManagementListenerkey - key of configconfigSource - config source which config loads fromconfigSourceList - all config sourcespublic void onLoadDefaultValue(ConfigKey key, Object defaultValue)
ManagementListeneronLoadDefaultValue in interface ManagementListenerCopyright © 2024. All rights reserved.