API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.event. NamingEvent View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.11 05/11/17
Serial
Hierarchy
 Object
      EventObject
          NamingEvent
Implements
Subclasses
Description
public class NamingEvent
  This class represents an event fired by a naming/directory service.
See also:    NamingListener EventContext
Constructors
public NamingEvent (EventContext source, int type, Binding newBd, Binding oldBd, Object changeInfo)
  Constructs an instance of NamingEvent.
Methods
Hide/Show inherited methods
public void dispatch (NamingListener listener)
  Invokes the appropriate listener method on this event.
public Object getChangeInfo ()
  Retrieves the change information for this event.
public EventContext getEventContext ()
  Retrieves the event source that fired this event.
public Binding getNewBinding ()
  Retrieves the binding of the object after the change.
public Binding getOldBinding ()
  Retrieves the binding of the object before the change.
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
public int getType ()
  Returns the type of this event.
public String toString () [Inherited From EventObject]
  Returns a String representation of this EventObject.
Fields
Hide/Show inherited fields
protected Object changeInfo
Contains information about the change that generated this event.
protected Binding newBinding
Contains information about the object after the change.
publicfinalstatic int OBJECT_ADDED = "0"
  Naming event type for indicating that a new object has been added.
publicfinalstatic int OBJECT_CHANGED = "3"
  Naming event type for indicating that an object has been changed.
publicfinalstatic int OBJECT_REMOVED = "1"
  Naming event type for indicating that an object has been removed.
publicfinalstatic int OBJECT_RENAMED = "2"
  Naming event type for indicating that an object has been renamed.
protected Binding oldBinding
Contains information about the object before the change.
protectedtransient Object source [Inherited From EventObject]
The object on which the Event initially occurred.
protected int type
  Contains the type of this event.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar