|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Instances of implementations of the ObjectReference interface represent references to objects not necessarily instantiated in the current JVM's memory. They encapsulate the data and logic necessary to construct or otherwise retrieve and return a reference to a java representation of that object in the current JVM's memory.
For example, an implementation of ObjectReference might be used to refer to objects in a database which may not necessarily be needed in the JVM's memory. The implementation would contain the necessary data and logic to properly query the database and instantiate a java representation of the object if the implementation's dereference() method is called.
Method Summary | |
java.lang.Object |
dereference(java.lang.Class type)
Returns a reference to a java representation of the object referenced by this ObjectReference. |
Method Detail |
public java.lang.Object dereference(java.lang.Class type) throws ObjectDereferencingException
ObjectDereferencingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |