|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.util.TransientHolder<T>
public final class TransientHolder<T>
Holds an unserializable value in a transient variable so that
unserializable Objects can be safely placed in distributed Sessions
without blowing up. Users should expect that getValue() will return
null
if the class has been serialized/de-serialized
Method Summary | ||
---|---|---|
T |
getValue()
|
|
static
|
newTransientHolder(T held)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> TransientHolder<T> newTransientHolder(T held)
public T getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |