Xindice API

org.apache.xindice.server
Interface Transient


public interface Transient

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.

See Also:
Persistent, User


Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation