Uses of Interface
javax.naming.event.NamingListener
Package | Description |
---|---|
javax.naming.event |
Provides support for event notification when accessing naming and
directory services.
|
javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
-
Uses of NamingListener in javax.naming.event
Subinterfaces of NamingListener in javax.naming.event Modifier and Type Interface Description interface
NamespaceChangeListener
Specifies the methods that a listener interested in namespace changes must implement.interface
ObjectChangeListener
Specifies the method that a listener of aNamingEvent
with event type ofOBJECT_CHANGED
must implement.Methods in javax.naming.event with parameters of type NamingListener Modifier and Type Method Description void
EventContext. addNamingListener(String target, int scope, NamingListener l)
Adds a listener for receiving naming events fired when the object named by the string target name and scope changes.void
EventContext. addNamingListener(Name target, int scope, NamingListener l)
Adds a listener for receiving naming events fired when the object(s) identified by a target and scope changes.void
EventDirContext. 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 filterfilter
and filter arguments at the object named by the string target name are modified.void
EventDirContext. addNamingListener(String target, String filter, SearchControls ctls, NamingListener l)
Adds a listener for receiving naming events fired when objects identified by the search filterfilter
at the object named by the string target name are modified.void
EventDirContext. 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 filterfilter
and filter arguments at the object named by the target are modified.void
EventDirContext. addNamingListener(Name target, String filter, SearchControls ctls, NamingListener l)
Adds a listener for receiving naming events fired when objects identified by the search filterfilter
at the object named by target are modified.void
NamingEvent. dispatch(NamingListener listener)
Invokes the appropriate listener method on this event.void
NamingExceptionEvent. dispatch(NamingListener listener)
Invokes thenamingExceptionThrown()
method on a listener using this event.void
EventContext. removeNamingListener(NamingListener l)
Removes a listener from receiving naming events fired by thisEventContext
. -
Uses of NamingListener in javax.naming.ldap
Subinterfaces of NamingListener in javax.naming.ldap Modifier and Type Interface Description interface
UnsolicitedNotificationListener
This interface is for handlingUnsolicitedNotificationEvent
.