public interface NameContextBindingEventSource extends NameContext
This is an extension of NameContext that allows Listeners to be notified when elements are bound or unbound from the NameContext.
In addition, whenever an element is bound or unbound from the NameContext, and that element implements NameContextBindingListener, that element will be notified accordingly.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
void |
addNameContextBindingListener(NameContextBindingListener pListener)
Adds the specified listener to the list of listeners that will be
notified whenever an element is bound into or unbound from this
NameContext.
|
void |
removeNameContextBindingListener(NameContextBindingListener pListener)
Removes the specified listener from the list of listeners that
will be notified whenever an element is bound into or unbound
from this NameContext.
|
getElement, isElementBound, listElementNames, listElements, putElement, removeElement
getName, getNameContext
nameContextElementBound, nameContextElementUnbound
static final java.lang.String CLASS_VERSION
void addNameContextBindingListener(NameContextBindingListener pListener)
void removeNameContextBindingListener(NameContextBindingListener pListener)