NamingEvents
with event types of OBJECT_ADDED, OBJECT_RENAMED, or
OBJECT_REMOVED.
Such a listener must:
NamingListener.namingExceptionThrown() so that
it will be notified of exceptions thrown while attempting to
collect information about the events.
addNamingListener()
method.
OBJECT_CHANGED event types
should also implement the ObjectChangeListener
interface.
NamingEvent, ObjectChangeListener, EventContext, EventDirContext
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void |
| objectAdded | back to summary |
|---|---|
| public void objectAdded(NamingEvent evt) Called when an object has been added.
The binding of the newly added object can be obtained using
| |
| objectRemoved | back to summary |
|---|---|
| public void objectRemoved(NamingEvent evt) Called when an object has been removed.
The binding of the newly removed object can be obtained using
| |
| objectRenamed | back to summary |
|---|---|
| public void objectRenamed(NamingEvent evt) Called when an object has been renamed.
The binding of the renamed object can be obtained using
| |