public interface NameContextElement extends NameContextBindingListener
A NameContextElement is an interface that may be implemented by objects that will be bound into a NameContext. This interface extends NameContextBindingListener, so it will receive notifications when it is bound into a NameContext. In addition, this interface provides a method for getting the NameContext into which the element has been bound.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name by which this element is know within its enclosing
NameContext.
|
NameContext |
getNameContext()
Returns the NameContext into which this element has been bound,
or null if the element is not bound in a NameContext.
|
nameContextElementBound, nameContextElementUnbound
static final java.lang.String CLASS_VERSION
NameContext getNameContext()
java.lang.String getName()