org.apache.naming

Class NamingEntry


public class NamingEntry
extends java.lang.Object

Represents a binding in a NamingContext.

Version:
$Revision: 1.2 $ $Date: 2004/02/27 14:58:53 $

Author:
Remy Maucherat

Field Summary

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

Constructor Summary

NamingEntry(String name, Object value, int type)

Method Summary

boolean
equals(Object obj)
int
hashCode()

Field Details

CONTEXT

public static final int CONTEXT

Field Value:
10


ENTRY

public static final int ENTRY

Field Value:
0


LINK_REF

public static final int LINK_REF

Field Value:
1


REFERENCE

public static final int REFERENCE

Field Value:
2


name

public String name


type

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


value

public Object value

Constructor Details

NamingEntry

public NamingEntry(String name,
                   Object value,
                   int type)

Method Details

equals

public boolean equals(Object obj)


hashCode

public int hashCode()


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.