Name

NamingListener

Synopsis

This is the base interface for all naming listeners. The namingExceptionThrown() callback is used to notify the listener that an exception was encountered while collecting information for the listener. If this callback is invoked, the listener has already been removed from its corresponding EventContext.

                  Passed To
public interface NamingListener extends java.util.EventListener {
// Public Instance Methods
   public abstract void namingExceptionThrown(
        NamingExceptionEvent evt);  
}

Implementations

NamespaceChangeListener, ObjectChangeListener, javax.naming.ldap.UnsolicitedNotificationListener

Passed To

EventContext.{addNamingListener(), removeNamingListener()}, EventDirContext.addNamingListener(), NamingEvent.dispatch(), NamingExceptionEvent.dispatch()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.