Uses of Interface javax.naming.event.EventContext (Java Platform SE 8 )
Date: 2016-12-09

## Uses of Interface
javax.naming.event.EventContext

- Packages that use EventContext
  Package | Description
  --- | ---
  javax.naming.event | Provides support for event notification when accessing naming and directory services.

- - ### Uses of EventContext in javax.naming.event

    Subinterfaces of EventContext in javax.naming.event
    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.

    Methods in javax.naming.event that return EventContext
    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.

    Constructors in javax.naming.event with parameters of type EventContext
    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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.