|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedObject
A marker interface implemented by shared, persistent objects managed by
DataManager
. Classes that implement ManagedObject
must also
implement Serializable
, as should any non-managed objects they refer
to. Any instances of ManagedObject
that a managed object refers to
directly, or indirectly through non-managed objects, need to be referred to
through instances of ManagedReference
.
Classes that implement ManagedObject
should not provide writeReplace
or readRestore
methods to designate replacement
objects during serialization. Object replacement would interfere with the
object identity maintained by the DataManager
, and is not
permitted.
Classes that implement ManagedObject
can provide readObject
and writeObject
methods to customize their serialization behavior,
but the writeObject
methods should not perform calls to methods that
require a current transaction.
DataManager
,
ManagedReference
,
Serializable
|
Project Darkstar, Version 0.9.9.6 2009-05-08 15:39:40 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |