public interface IOptionsListener
IOptions.getName()
for the
options object who's changes you want to track.Modifier and Type | Method and Description |
---|---|
void |
optionsUpdated(IOptions options,
long sequence)
This method is called when the options are loaded/changed.
|
void optionsUpdated(IOptions options, long sequence)
options
- The new options. Note that changes to the options may occur
in-place, using the same IOptions object with updated values,
or may result in a new object instance. This interface does not
specify which approach is used by an implementation.sequence
- The sequence number. Notifications for different listener
events (options, config, dependencies) that have the same
cause have the same sequence number. 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.