Name

UnsolicitedNotificationEvent

Synopsis

An UnsolicitedNotificationEvent is a specialization of NamingEvent that delivers an UnsolicitedNotification from the LDAP server to the client. Clients can listen for these events by registering an UnsolicitedNotificationListener with an EventContext, using the EventContext.addNamingListener() method. An LdapContext implementation from a provider needs to support the EventContext interface in order for a client to use event notification with it.

                  Returned By
public class UnsolicitedNotificationEvent extends java.util.EventObject {
// Public Constructors
   public UnsolicitedNotificationEvent(Object src, 
        UnsolicitedNotification notice);  
// Public Instance Methods
   public void dispatch(
        UnsolicitedNotificationListener listener);  
   public UnsolicitedNotification getNotification();  
}

Passed To

UnsolicitedNotificationListener.notificationReceived()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.