public interface NamingServiceListener| Modifier and Type | Method and Description |
|---|---|
void | configurationChanged(NamingService ns)Also called when a NamingService is added or removed. |
void | entryAdded(NamingService ns,
String hostname,
Destination dest,
Properties options)Called when a new naming service entry is added. |
void | entryChanged(NamingService ns,
String hostname,
Destination dest,
Properties options)Called when a naming service entry changes. |
void | entryRemoved(NamingService ns,
String hostname)Called when a naming service entry is removed. |
void configurationChanged(NamingService ns)
ns - the naming servicevoid entryAdded(NamingService ns, String hostname, Destination dest, Properties options)
ns - the naming servicehostname - the hostnamedest - the destinationoptions - NamingService-specific, can be nullvoid entryChanged(NamingService ns, String hostname, Destination dest, Properties options)
ns - the naming servicehostname - the hostnamedest - null if unchangedoptions - NamingService-specific, can be nullvoid entryRemoved(NamingService ns, String hostname)
ns - the naming servicehostname - the hostname