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

## nextapp.echo2.webcontainer.util
Class IdTable

    java.lang.Object
      nextapp.echo2.webcontainer.util.IdTable

All Implemented Interfaces:
  java.io.Serializable

    public class IdTable

extends java.lang.Object
implements java.io.Serializable

A table which provides an identifier-to-object mapping, with the objects being weakly referenced (i.e., the fact that they are held within this table will not prevent them from being garbage collected).

See Also:
  Serialized Form

Constructor Summary
`IdTable()`

Method Summary
`java.lang.Object` | `getObject(java.lang.String id)` Retrieves the object associated with the specified identifier.
`void` | `register(RenderIdSupport object)` Registers an object with the `IdTable`

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

Constructor Detail

### IdTable

    public IdTable()

Method Detail

### register

    public void register(RenderIdSupport object)

  Registers an object with the `IdTable`

  Parameters:
    `object` - the object to identify

### getObject

    public java.lang.Object getObject(java.lang.String id)

  Retrieves the object associated with the specified identifier.

  Parameters:
    `id` - the identifier
  Returns:
    the object (or null, if the object is not in the queue, perhaps due to having been dereferenced and garbage collected)

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