| javax.naming.event.EventDirContext
EventDirContext | public interface EventDirContext extends EventContext,DirContext(Code) | | This interface allows registering of listeners for events concerning objects
bound in a directory context.
The registration methods take an RFC2254 search filter as a parameter, which
is used to select the objects to generate events for.
Sometimes objects that satisfy a search filter may be bound after a listener
is registered, specifying the filter. Where the directory service will not
support this, and generate events for objects bound after a given filter is
specified, then the addNamingListener methods will throw an
InvalidSearchFilterException .
|
Method Summary | |
void | addNamingListener(Name name, String filter, Object filterArgs, SearchControls searchControls, NamingListener namingListener) Registers naming listener for events concerning objects selected by the
given search at name . | void | addNamingListener(Name name, String filter, SearchControls searchControls, NamingListener namingListener) Registers naming listener for events concerning objects selected by the
given search at name . | void | addNamingListener(String name, String filter, Object filterArgs, SearchControls searchControls, NamingListener namingListener) Registers naming listener for events concerning objects selected by the
given search at name string name . | void | addNamingListener(String name, String filter, SearchControls searchControls, NamingListener namingListener) Registers naming listener for events concerning objects selected by the
given search at name string name . |
addNamingListener | void addNamingListener(Name name, String filter, Object filterArgs, SearchControls searchControls, NamingListener namingListener) throws NamingException(Code) | | Registers naming listener for events concerning objects selected by the
given search at name . The name parameter
is relative to this context.
Parameters: name - the concerning Name Parameters: filter - a RFC2254 search filter Parameters: filterArgs - filter arguments Parameters: searchControls - Further specifies the selection of objects to generate eventsfor, and the information contained inNamingEvents that may be generated. Parameters: namingListener - the NamingListener to be registered throws: NamingException - If any exception occured. |
|
|