public interface IDependenciesListener
name
property in
the service properties.Modifier and Type | Method and Description |
---|---|
void |
dependenciesLoaded(IDependencies deps,
long sequence)
This method is called when dependencies are loaded/reloaded/validated.
|
void dependenciesLoaded(IDependencies deps, long sequence)
IDependencies.getLastModified()
to detect when the dependencies
have changed.deps
- The dependencies object. Note that changes to the dependencies
may occur in-place, using the same IDependencies object with
updated values, or may result in a new IDependencies object.
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. 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.