Name

EventDirContext

Synopsis

The EventDirContext interface is implemented by DirContexts that support event notification. It contains methods for adding NamingListeners associated with named targets in the directory.

                  Returned By
public interface EventDirContext extends EventContext, javax.naming.directory.DirContext {
// Public Instance Methods
   public abstract void addNamingListener(String target, 
        String filter, 
        javax.naming.directory.SearchControls ctls, 
        NamingListener l) throws NamingException;  
   public abstract void addNamingListener(
        javax.naming.Name target, String filter, 
        javax.naming.directory.SearchControls ctls, 
        NamingListener l) throws NamingException;  
   public abstract void addNamingListener(String target, 
        String filter, Object[] filterArgs, 
        javax.naming.directory.SearchControls ctls, 
        NamingListener l) throws NamingException;  
   public abstract void addNamingListener(
        javax.naming.Name target, String filter, 
        Object[] filterArgs, 
        javax.naming.directory.SearchControls ctls, 
        NamingListener l) throws NamingException;  
}

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.