| Package | Description | 
|---|---|
| javax.naming.event | 
 Provides support for event notification when accessing naming and
directory services. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
EventDirContext
Contains methods for registering listeners to be notified
 of events fired when objects named in a directory context changes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
EventContext | 
NamingEvent.getEventContext()
Retrieves the event source that fired this event. 
 | 
EventContext | 
NamingExceptionEvent.getEventContext()
Retrieves the EventContext that fired this event. 
 | 
| Constructor and Description | 
|---|
NamingEvent(EventContext source,
           int type,
           Binding newBd,
           Binding oldBd,
           Object changeInfo)
Constructs an instance of NamingEvent. 
 | 
NamingExceptionEvent(EventContext source,
                    NamingException exc)
Constructs an instance of NamingExceptionEvent using
 the context in which the NamingException was thrown and the exception
 that was thrown. 
 | 
 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.