Class NamingEntry
java.lang.Object
org.apache.naming.NamingEntry
Represents a binding in a NamingContext.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEntry type for a sub-context.static final intEntry type for a regular binding.static final intEntry type for a link reference.final StringThe binding name.static final intEntry type for a reference.intThe type instance variable is used to avoid using RTTI when doing lookups.The bound object value. -
Constructor Summary
ConstructorsConstructorDescriptionNamingEntry(String name, Object value, int type) Creates a new naming entry. -
Method Summary
-
Field Details
-
ENTRY
public static final int ENTRYEntry type for a regular binding.- See Also:
-
LINK_REF
public static final int LINK_REFEntry type for a link reference.- See Also:
-
REFERENCE
public static final int REFERENCEEntry type for a reference.- See Also:
-
CONTEXT
public static final int CONTEXTEntry type for a sub-context.- See Also:
-
type
public int typeThe type instance variable is used to avoid using RTTI when doing lookups. -
name
The binding name. -
value
The bound object value.
-
-
Constructor Details
-
NamingEntry
-
-
Method Details
-
equals
-
hashCode
-