The methods in this interface support identification of objects by RFC 2254 search filters.
Using the search filter, it is possible to register interest in objects
that do not exist at the time of registration but later come into existence and
satisfy the filter. However, there might be limitations in the extent
to which this can be supported by the service provider and underlying
protocol/service. If the caller submits a filter that cannot be
supported in this way, addNamingListener() throws an
InvalidSearchFilterException.
See EventContext for a description of event source
and target, and information about listener registration/deregistration
that are also applicable to methods in this interface.
See the
package description
for information on threading issues.
A SearchControls or array object
passed as a parameter to any method is owned by the caller.
The service provider will not modify the object or keep a reference to it.
| Modifier and Type | Method and Description |
|---|---|
| public void | addNamingListener(Name
The nonnull name of the object resolved relative to this context. target, String The nonnull string filter (see RFC2254). filter, SearchControls The possibly null search controls. If null, the default
search controls are used. ctls, NamingListener The nonnull listener. l)Adds a listener for receiving naming events fired
when objects identified by the search filter |
| public void | addNamingListener(String
The nonnull string name of the object resolved relative to this context. target, String The nonnull string filter (see RFC2254). filter, SearchControls The possibly null search controls. If null, the default
search controls is used. ctls, NamingListener The nonnull listener. l)Adds a listener for receiving naming events fired when
objects identified by the search filter |
| public void | addNamingListener(Name
The nonnull name of the object resolved relative to this context. target, String The nonnull string filter (see RFC2254). filter, Object[] The possibly null array of arguments for the filter. filterArgs, SearchControls The possibly null search controls. If null, the default
search controls are used. ctls, NamingListener The nonnull listener. l)Adds a listener for receiving naming events fired
when objects identified by the search filter |
| public void | addNamingListener(String
The nonnull string name of the object resolved relative to this context. target, String The nonnull string filter (see RFC2254). filter, Object[] The possibly null array of arguments for the filter. filterArgs, SearchControls The possibly null search controls. If null, the default
search controls is used. ctls, NamingListener The nonnull listener. l)Adds a listener for receiving naming events fired when
objects identified by the search filter |
| addNamingListener | back to summary |
|---|---|
| public void addNamingListener(Name target, String filter, SearchControls ctls, NamingListener l) throws NamingException Adds a listener for receiving naming events fired
when objects identified by the search filter
The scope, returningObj flag, and returningAttributes flag from
the search controls
| |
| addNamingListener | back to summary |
|---|---|
| public void addNamingListener(String target, String filter, SearchControls ctls, NamingListener l) throws NamingException Adds a listener for receiving naming events fired when
objects identified by the search filter
| |
| addNamingListener | back to summary |
|---|---|
| public void addNamingListener(Name target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l) throws NamingException Adds a listener for receiving naming events fired
when objects identified by the search filter
| |
| addNamingListener | back to summary |
|---|---|
| public void addNamingListener(String target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l) throws NamingException Adds a listener for receiving naming events fired when
objects identified by the search filter
| |