public interface NamingServiceListener
Listener for naming service events.
  • Method Details

    • configurationChanged

      void configurationChanged(NamingService ns)
      Also called when a NamingService is added or removed.
      Parameters:
      ns - the naming service
    • entryAdded

      void entryAdded(NamingService ns, String hostname, Destination dest, Properties options)
      Called when a new naming service entry is added.
      Parameters:
      ns - the naming service
      hostname - the name the new entry maps, as registered with the service
      dest - the destination the new hostname entry resolves to
      options - NamingService-specific, can be null
    • entryChanged

      void entryChanged(NamingService ns, String hostname, Destination dest, Properties options)
      Called when a naming service entry changes.
      Parameters:
      ns - the naming service
      hostname - the name whose entry changed
      dest - null if unchanged
      options - NamingService-specific, can be null
    • entryRemoved

      void entryRemoved(NamingService ns, String hostname)
      Called when a naming service entry is removed.
      Parameters:
      ns - the naming service
      hostname - the name whose entry was removed