|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.util.ObjectID
Class responsible for maintaining a mapping between objects and a unique identifier for that object. Objects are stored using weak-references such that they will be garbage collected properly. This mechanism is used by the BPE's preview panel to pass an ID for the form to preview.
Constructor Summary | |
ObjectID()
|
Method Summary | |
static java.lang.String |
getIDForObject(java.lang.Object object)
Retrieves a unique id for a given object. |
static java.lang.String |
getIDForObject(java.lang.Object object,
boolean reuseIds)
Retrieves a unique id for a given object. |
static int |
getNumObjects()
Unit testing hook to make sure we're garbage collecting properly |
static java.lang.Object |
getObjectByID(java.lang.String id)
Returns the object for the given id, or null if none exists. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectID()
Method Detail |
public static int getNumObjects()
public static java.lang.Object getObjectByID(java.lang.String id)
public static java.lang.String getIDForObject(java.lang.Object object)
public static java.lang.String getIDForObject(java.lang.Object object, boolean reuseIds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |