NamingEntry (Tomcat API Documentation)
Keywords: org.apache.naming.NamingEntry class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.naming
Class NamingEntry

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

    public class NamingEntry

extends java.lang.Object

Represents a binding in a NamingContext.

Version:
  $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Author:
  Remy Maucherat

Field Summary
`static int` | `CONTEXT`
`static int` | `ENTRY`
`static int` | `LINK_REF`
`java.lang.String` | `name`
`static int` | `REFERENCE`
`int` | `type` The type instance variable is used to avoid unsing RTTI when doing lookups.
`java.lang.Object` | `value`

Constructor Summary
`NamingEntry(java.lang.String name, java.lang.Object value, int type)`

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### ENTRY

    public static final int ENTRY

See Also:
  Constant Field Values

### LINK_REF

    public static final int LINK_REF

See Also:
  Constant Field Values

### REFERENCE

    public static final int REFERENCE

See Also:
  Constant Field Values

### CONTEXT

    public static final int CONTEXT

See Also:
  Constant Field Values

### type

    public int type

  The type instance variable is used to avoid unsing RTTI when doing lookups.

### name

    public java.lang.String name

### value

    public java.lang.Object value

Constructor Detail

### NamingEntry

    public NamingEntry(java.lang.String name,
                       java.lang.Object value,
                       int type)

Method Detail

### equals

    public boolean equals(java.lang.Object obj)

  Overrides:
    `equals` in class `java.lang.Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.