org.nakedobjects.runtime.objectstore.inmemory.internal
Class ObjectStorePersistedObjectsDefault

java.lang.Object
  extended by org.nakedobjects.runtime.objectstore.inmemory.internal.ObjectStorePersistedObjectsDefault
All Implemented Interfaces:
ObjectStorePersistedObjects

public class ObjectStorePersistedObjectsDefault
extends java.lang.Object
implements ObjectStorePersistedObjects

Represents the persisted objects. Attached and detached to each session.


Constructor Summary
ObjectStorePersistedObjectsDefault()
           
 
Method Summary
 void clear()
           
 SimpleOidGenerator.Memento getOidGeneratorMemento()
           
 Oid getService(java.lang.String name)
           
 java.lang.Iterable<ObjectStoreInstances> instances()
           
 ObjectStoreInstances instancesFor(NakedObjectSpecification spec)
           
 void registerService(java.lang.String name, Oid oid)
           
 void saveOidGeneratorMemento(SimpleOidGenerator.Memento memento)
           
 java.lang.Iterable<NakedObjectSpecification> specifications()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectStorePersistedObjectsDefault

public ObjectStorePersistedObjectsDefault()
Method Detail

getOidGeneratorMemento

public SimpleOidGenerator.Memento getOidGeneratorMemento()
Specified by:
getOidGeneratorMemento in interface ObjectStorePersistedObjects

saveOidGeneratorMemento

public void saveOidGeneratorMemento(SimpleOidGenerator.Memento memento)
Specified by:
saveOidGeneratorMemento in interface ObjectStorePersistedObjects

getService

public Oid getService(java.lang.String name)
Specified by:
getService in interface ObjectStorePersistedObjects

registerService

public void registerService(java.lang.String name,
                            Oid oid)
Specified by:
registerService in interface ObjectStorePersistedObjects

instancesFor

public ObjectStoreInstances instancesFor(NakedObjectSpecification spec)
Specified by:
instancesFor in interface ObjectStorePersistedObjects

specifications

public java.lang.Iterable<NakedObjectSpecification> specifications()
Specified by:
specifications in interface ObjectStorePersistedObjects

clear

public void clear()
Specified by:
clear in interface ObjectStorePersistedObjects

instances

public java.lang.Iterable<ObjectStoreInstances> instances()
Specified by:
instances in interface ObjectStorePersistedObjects


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