Class NamingEntry

java.lang.Object
org.apache.naming.NamingEntry

public class NamingEntry extends Object
Represents a binding in a NamingContext.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Entry type for a sub-context.
    static final int
    Entry type for a regular binding.
    static final int
    Entry type for a link reference.
    final String
    The binding name.
    static final int
    Entry type for a reference.
    int
    The type instance variable is used to avoid using RTTI when doing lookups.
    The bound object value.
  • Constructor Summary

    Constructors
    Constructor
    Description
    NamingEntry(String name, Object value, int type)
    Creates a new naming entry.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ENTRY

      public static final int ENTRY
      Entry type for a regular binding.
      See Also:
    • REFERENCE

      public static final int REFERENCE
      Entry type for a reference.
      See Also:
    • CONTEXT

      public static final int CONTEXT
      Entry type for a sub-context.
      See Also:
    • type

      public int type
      The type instance variable is used to avoid using RTTI when doing lookups.
    • name

      public final String name
      The binding name.
    • value

      public Object value
      The bound object value.
  • Constructor Details

    • NamingEntry

      public NamingEntry(String name, Object value, int type)
      Creates a new naming entry.
      Parameters:
      name - The binding name
      value - The bound object
      type - The entry type
  • Method Details