public interface NamingServiceListener
Listener for naming service events.
Method Summary
All MethodsModifier and TypeMethodDescriptionvoidAlso called when a NamingService is added or removed.voidentryAdded(NamingService ns, String hostname, Destination dest, Properties options) Called when a new naming service entry is added.voidentryChanged(NamingService ns, String hostname, Destination dest, Properties options) Called when a naming service entry changes.voidentryRemoved(NamingService ns, String hostname) Called when a naming service entry is removed.
Method Details
configurationChanged
Also called when a NamingService is added or removed.- Parameters:
ns- the naming service
entryAdded
Called when a new naming service entry is added.- Parameters:
ns- the naming servicehostname- the name the new entry maps, as registered with the servicedest- the destination the new hostname entry resolves tooptions- NamingService-specific, can be null
entryChanged
Called when a naming service entry changes.- Parameters:
ns- the naming servicehostname- the name whose entry changeddest- null if unchangedoptions- NamingService-specific, can be null
entryRemoved
Called when a naming service entry is removed.- Parameters:
ns- the naming servicehostname- the name whose entry was removed