Package org.nakedobjects.runtime.persistence.oidgenerator

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

See:
          Description

Interface Summary
OidGenerator  
OidGeneratorAware  
 

Class Summary
OidGeneratorAbstract  
 

Package org.nakedobjects.runtime.persistence.oidgenerator Description

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

Used by object store implementations to specify how to manufacture Oids (permanent unique identifiers for each domain object managed by Naked Objects). For example, an in-memory object store will just use a unique Id, whereas a generator for Hibernate will hook into Hibernate's own identity generators.

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

See Also:
PersistAlgorithm, classsubstitor.ClassSubstitutor.ClassStrategy


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