atg.naming
Interface NameContextBindingEventSource

All Superinterfaces:
java.util.EventListener, NameContext, NameContextBindingListener, NameContextElement
All Known Implementing Classes:
EventHandlerRegistry, GenericContext, NameContextImpl, Nucleus, RequestScopeManager

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.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 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.
 
Methods inherited from interface atg.naming.NameContext
getElement, isElementBound, listElementNames, listElements, putElement, removeElement
 
Methods inherited from interface atg.naming.NameContextElement
getName, getNameContext
 
Methods inherited from interface atg.naming.NameContextBindingListener
nameContextElementBound, nameContextElementUnbound
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

addNameContextBindingListener

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.


removeNameContextBindingListener

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.