public abstract class AbstractConfigListener extends Object implements ManagementListener
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| 构造器和说明 |
|---|
AbstractConfigListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ManagementListenerpublic void afterConfigLoaded(ConfigKey key, ConfigSource configSource, List<ConfigSource> configSourceList)
ManagementListenerafterConfigLoaded 在接口中 ManagementListenerkey - key of configconfigSource - config source which config loads fromconfigSourceList - all config sourcespublic void onLoadDefaultValue(ConfigKey key, Object defaultValue)
ManagementListeneronLoadDefaultValue 在接口中 ManagementListenerCopyright © 2021. All rights reserved.