javax.naming.event

Class NamingEvent

public class NamingEvent extends EventObject

UNKNOWN: June 5, 2001

Field Summary
protected ObjectchangeInfo
protected BindingnewBinding
protected BindingoldBinding
static intOBJECT_ADDED
static intOBJECT_CHANGED
static intOBJECT_REMOVED
static intOBJECT_RENAMED
protected inttype
Constructor Summary
NamingEvent(EventContext source, int type, Binding newBd, Binding oldBd, Object changeInfo)
Method Summary
voiddispatch(NamingListener listener)
ObjectgetChangeInfo()
EventContextgetEventContext()
BindinggetNewBinding()
BindinggetOldBinding()
intgetType()

Field Detail

changeInfo

protected Object changeInfo

newBinding

protected Binding newBinding

oldBinding

protected Binding oldBinding

OBJECT_ADDED

public static final int OBJECT_ADDED

OBJECT_CHANGED

public static final int OBJECT_CHANGED

OBJECT_REMOVED

public static final int OBJECT_REMOVED

OBJECT_RENAMED

public static final int OBJECT_RENAMED

type

protected int type

Constructor Detail

NamingEvent

public NamingEvent(EventContext source, int type, Binding newBd, Binding oldBd, Object changeInfo)

Method Detail

dispatch

public void dispatch(NamingListener listener)

getChangeInfo

public Object getChangeInfo()

getEventContext

public EventContext getEventContext()

getNewBinding

public Binding getNewBinding()

getOldBinding

public Binding getOldBinding()

getType

public int getType()