Package org.nakedobjects.runtime.persistence.objectstore.algorithm

This interface is used by the PersistenceSession and is generally not intended to be implemented directly.

See:
          Description

Interface Summary
PersistAlgorithm  
ToPersistObjectSet Set of NakedObjects that require persisting.
 

Class Summary
PersistAlgorithmAbstract  
 

Package org.nakedobjects.runtime.persistence.objectstore.algorithm Description

This interface is used by the PersistenceSession and is generally not intended to be implemented directly.

The PersistAlgorithm defines how persistence-by-reachability is enacted. This only applies to the ObjectStorePersistor implementation, but has been brought up into architecture module because it is very much a peer of the other helper objects that influence the PersistenceSession's behaviour, such as ClassSubstitutor and OidGenerator.

Since there is a close dependency between the PersistenceSession and the PersistAlgorithm implementation, it is the job of the PersistenceMechanismInstaller to ensure that the correct PersistAlgorithm is setup.

See Also:
classsubstitor.ClassSubstitutor.ClassStrategy, OidGenerator


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.