public class NameContextBindingEvent
extends java.util.EventObject
A NameContextBindingEvent encapsulates the notification that an element has been bound or unbound from a NameContext. The source of the event is the NameContext involved in the binding.
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| Constructor and Description | 
|---|
| NameContextBindingEvent(java.lang.String pName,
                       java.lang.Object pElement,
                       NameContext pNameContext)Constructs a new NameContextBindingEvent | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | getElement()Returns the element bound to the specified name. | 
| java.lang.String | getName()Returns the name to which the element was bound or unbound. | 
| NameContext | getNameContext()Returns the NameContext to which the element was bound | 
public NameContextBindingEvent(java.lang.String pName,
                       java.lang.Object pElement,
                       NameContext pNameContext)
pName - the name to which the element is bound or unbound
 (relative to the NameContext)pElement - the element tha is bound or unboundpNameContext - the NameContext to which the element was bound
 or unboundpublic java.lang.String getName()
public java.lang.Object getElement()
public NameContext getNameContext()