javax.naming.event
Interface EventDirContext
- All Superinterfaces:
- Context
, DirContext
, EventContext

public interface EventDirContext
- extends EventContext
, DirContext

Contains methods for registering listeners to be notified
of events fired when objects named in a directory context changes.
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.
- Since:
- 1.3
Fields inherited from interface javax.naming.Context  |
APPLET , AUTHORITATIVE , BATCHSIZE , DNS_URL , INITIAL_CONTEXT_FACTORY , LANGUAGE , OBJECT_FACTORIES , PROVIDER_URL , REFERRAL , SECURITY_AUTHENTICATION , SECURITY_CREDENTIALS , SECURITY_PRINCIPAL , SECURITY_PROTOCOL , STATE_FACTORIES , URL_PKG_PREFIXES  |
Fields inherited from interface javax.naming.Context  |
APPLET , AUTHORITATIVE , BATCHSIZE , DNS_URL , INITIAL_CONTEXT_FACTORY , LANGUAGE , OBJECT_FACTORIES , PROVIDER_URL , REFERRAL , SECURITY_AUTHENTICATION , SECURITY_CREDENTIALS , SECURITY_PRINCIPAL , SECURITY_PROTOCOL , STATE_FACTORIES , URL_PKG_PREFIXES  |
|
Method Summary |
void |
addNamingListener (Name target,
String filter,
Object [] filterArgs,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired
when objects identified by the search filter filter and
filter arguments at the object named by the target are modified. |
void |
addNamingListener (Name target,
String filter,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired
when objects identified by the search filter filter at
the object named by target are modified. |
void |
addNamingListener (String target,
String filter,
Object [] filterArgs,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired when
objects identified by the search filter filter
and filter arguments at the
object named by the string target name are modified. |
void |
addNamingListener (String target,
String filter,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired when
objects identified by the search filter filter at the
object named by the string target name are modified. |
Methods inherited from interface javax.naming.Context  |
addToEnvironment , bind , bind , close , composeName , composeName , createSubcontext , createSubcontext , destroySubcontext , destroySubcontext , getEnvironment , getNameInNamespace , getNameParser , getNameParser , list , list , listBindings , listBindings , lookup , lookup , lookupLink , lookupLink , rebind , rebind , removeFromEnvironment , rename , rename , unbind , unbind  |
Methods inherited from interface javax.naming.directory.DirContext  |
bind , bind , createSubcontext , createSubcontext , getAttributes , getAttributes , getAttributes , getAttributes , getSchema , getSchema , getSchemaClassDefinition , getSchemaClassDefinition , modifyAttributes , modifyAttributes , modifyAttributes , modifyAttributes , rebind , rebind , search , search , search , search , search , search , search , search  |
Methods inherited from interface javax.naming.Context  |
addToEnvironment , bind , bind , close , composeName , composeName , createSubcontext , createSubcontext , destroySubcontext , destroySubcontext , getEnvironment , getNameInNamespace , getNameParser , getNameParser , list , list , listBindings , listBindings |