public class NamingEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
protected Object |
changeInfo |
protected Binding |
newBinding |
static int |
OBJECT_ADDED |
static int |
OBJECT_CHANGED |
static int |
OBJECT_REMOVED |
static int |
OBJECT_RENAMED |
protected Binding |
oldBinding |
protected int |
type |
source| Constructor and Description |
|---|
NamingEvent(EventContext source,
int type,
Binding newBd,
Binding oldBd,
Object changeInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(NamingListener listener) |
Object |
getChangeInfo() |
EventContext |
getEventContext() |
Binding |
getNewBinding() |
Binding |
getOldBinding() |
int |
getType() |
getSource, toStringpublic static final int OBJECT_ADDED
public static final int OBJECT_REMOVED
public static final int OBJECT_RENAMED
public static final int OBJECT_CHANGED
protected Object changeInfo
protected int type
protected Binding oldBinding
protected Binding newBinding
public NamingEvent(EventContext source, int type, Binding newBd, Binding oldBd, Object changeInfo)
public int getType()
public EventContext getEventContext()
public Binding getOldBinding()
public Binding getNewBinding()
public Object getChangeInfo()
public void dispatch(NamingListener listener)