|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectReference<T>
A way to refer to objects that are stored in "awkward" places (for example inside a
HttpSession
or ThreadLocal
).
Method Summary | |
---|---|
T |
get()
Retrieve an actual reference to the object. |
void |
set(T item)
Assign an object to the reference. |
Method Detail |
---|
T get()
void set(T item)
item
- the object to assign to the reference. May be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |