|
Préférences
Moteurs de recherche
|
||||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
javax.naming.event
|
Field Summary |
Fields inherited from interface javax.naming.event.EventContext |
OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE |
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.directory.DirContext |
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE |
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.event.EventContext |
addNamingListener, addNamingListener, removeNamingListener, targetMustExist |
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 |
Method Detail |
public void addNamingListener(Name target, String filter, SearchControls ctls, NamingListener l) throws NamingException
The scope, returningObj flag, and returningAttributes flag from the search controls ctls are used to control the selection of objects that the listener is interested in, and determines what information is returned in the eventual NamingEvent object. Note that the requested information to be returned might not be present in the NamingEvent object if they are unavailable or could not be obtained by the service provider or service.
target
- The nonnull name of the object resolved relative to this context.filter
- The nonnull string filter (see RFC2254).ctls
- The possibly null search controls. If null, the default
search controls are used.l
- The nonnull listener.
NamingException
- If a problem was encountered while
adding the listener.EventContext.removeNamingListener(javax.naming.event.NamingListener)
,
DirContext.search(javax.naming.Name, java.lang.String, javax.naming.directory.SearchControls)
public void addNamingListener(String target, String filter, SearchControls ctls, NamingListener l) throws NamingException
target
- The nonnull string name of the object resolved relative to this context.filter
- The nonnull string filter (see RFC2254).ctls
- The possibly null search controls. If null, the default
search controls is used.l
- The nonnull listener.
NamingException
- If a problem was encountered while
adding the listener.EventContext.removeNamingListener(javax.naming.event.NamingListener)
,
DirContext.search(java.lang.String, java.lang.String, javax.naming.directory.SearchControls)
public void addNamingListener(Name target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l) throws NamingException
target
- The nonnull name of the object resolved relative to this context.filter
- The nonnull string filter (see RFC2254).filterArgs
- The possibly null array of arguments for the filter.ctls
- The possibly null search controls. If null, the default
search controls are used.l
- The nonnull listener.
NamingException
- If a problem was encountered while
adding the listener.EventContext.removeNamingListener(javax.naming.event.NamingListener)
,
DirContext.search(javax.naming.Name, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)
public void addNamingListener(String target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l) throws NamingException
target
- The nonnull string name of the object resolved relative to this context.filter
- The nonnull string filter (see RFC2254).filterArgs
- The possibly null array of arguments for the filter.ctls
- The possibly null search controls. If null, the default
search controls is used.l
- The nonnull listener.
NamingException
- If a problem was encountered while
adding the listener.EventContext.removeNamingListener(javax.naming.event.NamingListener)
,
DirContext.search(java.lang.String, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)