|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.webcontainer.util.IdTable
public class IdTable
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).
When deserialized by Java serialization API, the references will be hard until
purge()
is invoked for the first time.
Constructor Summary | |
---|---|
IdTable()
|
Method Summary | |
---|---|
java.lang.Object |
getObject(java.lang.String id)
Retrieves the object associated with the specified identifier. |
void |
register(nextapp.echo.app.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 |
---|
public IdTable()
Method Detail |
---|
public void register(nextapp.echo.app.RenderIdSupport object)
IdTable
object
- the object to identifypublic java.lang.Object getObject(java.lang.String id)
id
- the identifier
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |