|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Transient is an interface that is implemented by Xindice
resources in order to identify themselves as not being part of the persistent
state of a user's session. Because many of the basic Java classes implement
the Serializable interface, Xindice requires a mechanism by
which to recognize that an object is not to be serialized when storing the
state of a user's session. This interface only applies to top-level
resources and not dependent objects that are serialized in another object's
graph.
The Persistent and Transient interfaces are not opposites
of each other. Persistent identifies a resource as being a static
part of the system's resource management layer. Transient identifies
a resource as not being a candidate for User related or distributed
serialization.
Persistent
,
User
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |