Java™ Platform
Standard Ed. 6

Uses of Interface

Packages that use EventContext
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
 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
 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
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.

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.