public class UnsolicitedNotificationEvent extends EventObject
UnsolicitedNotification,
UnsolicitedNotificationListener,
EventContext.addNamingListener(javax.naming.Name, int, javax.naming.event.NamingListener),
EventDirContext.addNamingListener(javax.naming.Name, java.lang.String, javax.naming.directory.SearchControls, javax.naming.event.NamingListener),
EventContext.removeNamingListener(javax.naming.event.NamingListener),
Serialized Form source | Constructor | Description |
|---|---|
UnsolicitedNotificationEvent (Object src,
UnsolicitedNotification notice) |
Constructs a new instance of UnsolicitedNotificationEvent.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
dispatch (UnsolicitedNotificationListener listener) |
Invokes the notificationReceived() method on
a listener using this event.
|
UnsolicitedNotification |
getNotification () |
Returns the unsolicited notification.
|
getSource, toString public UnsolicitedNotificationEvent(Object src, UnsolicitedNotification notice)
src - The non-null source that fired the event.notice - The non-null unsolicited notification.public UnsolicitedNotification getNotification()
public void dispatch(UnsolicitedNotificationListener listener)
listener - The non-null listener on which to invoke
notificationReceived. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.