Uses of Interface
javax.naming.event.NamingListener
Packages that use NamingListener
Package
Description
Provides support for event notification when accessing naming and
directory services.
Provides support for LDAPv3 extended operations and controls.
-
Uses of NamingListener in javax.naming.event
Subinterfaces of NamingListener in javax.naming.eventModifier and TypeInterfaceDescriptioninterfaceSpecifies the methods that a listener interested in namespace changes must implement.interfaceSpecifies the method that a listener of aNamingEventwith event type ofOBJECT_CHANGEDmust implement.Methods in javax.naming.event with parameters of type NamingListenerModifier and TypeMethodDescriptionvoidEventContext.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.voidEventContext.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.voidEventDirContext.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 filterfilterand filter arguments at the object named by the string target name are modified.voidEventDirContext.addNamingListener(String target, String filter, SearchControls ctls, NamingListener l) Adds a listener for receiving naming events fired when objects identified by the search filterfilterat the object named by the string target name are modified.voidEventDirContext.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 filterfilterand filter arguments at the object named by the target are modified.voidEventDirContext.addNamingListener(Name target, String filter, SearchControls ctls, NamingListener l) Adds a listener for receiving naming events fired when objects identified by the search filterfilterat the object named by target are modified.voidNamingEvent.dispatch(NamingListener listener) Invokes the appropriate listener method on this event.voidNamingExceptionEvent.dispatch(NamingListener listener) Invokes thenamingExceptionThrown()method on a listener using this event.voidEventContext.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.ldapModifier and TypeInterfaceDescriptioninterfaceThis interface is for handlingUnsolicitedNotificationEvent.