public interface IConfigListener
name
property in
the service properties.Modifier and Type | Method and Description |
---|---|
void |
configLoaded(IConfig config,
long sequence)
This method is called when the config is loaded/reloaded, after the
config has been modified by any registered
IConfigModifier
services. |
void configLoaded(IConfig config, long sequence)
IConfigModifier
services.config
- The new config object. In order to detect and react to config
changes, you can save the value returned from
IConfig.toString()
and compare it with the value
returned in subsequent configLoaded events.sequence
- The sequence number. Notifications for different listener
events (options, config, dependencies) that have the same
cause have the same sequence number. Notifications resulting
from servlet initialization have the sequence number 1. The
sequence number is incremented for subsequent event causes,
but there is no guarantee about the the values for subsequent
notifications other than that they will be increasing.Copyright © 2011-2015 IBM. All Rights Reserved.