Package org.apache.naming
Class NamingEntry
- java.lang.Object
-
- org.apache.naming.NamingEntry
-
public class NamingEntry extends java.lang.ObjectRepresents a binding in a NamingContext.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONTEXTEntry type for a sub-context.static intENTRYEntry type for a regular binding.static intLINK_REFEntry type for a link reference.java.lang.StringnameThe binding name.static intREFERENCEEntry type for a reference.inttypeThe type instance variable is used to avoid using RTTI when doing lookups.java.lang.ObjectvalueThe bound object value.
-
Constructor Summary
Constructors Constructor Description NamingEntry(java.lang.String name, java.lang.Object value, int type)Creates a new naming entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
ENTRY
public static final int ENTRY
Entry type for a regular binding.- See Also:
- Constant Field Values
-
LINK_REF
public static final int LINK_REF
Entry type for a link reference.- See Also:
- Constant Field Values
-
REFERENCE
public static final int REFERENCE
Entry type for a reference.- See Also:
- Constant Field Values
-
CONTEXT
public static final int CONTEXT
Entry type for a sub-context.- See Also:
- Constant Field Values
-
type
public int type
The type instance variable is used to avoid using RTTI when doing lookups.
-
name
public final java.lang.String name
The binding name.
-
value
public java.lang.Object value
The bound object value.
-
-