org.nakedobjects.runtime.objectstore.inmemory
Class InMemoryPersistenceMechanismInstaller

java.lang.Object
  extended by org.nakedobjects.runtime.installers.InstallerAbstract
      extended by org.nakedobjects.runtime.persistence.PersistenceMechanismInstallerAbstract
          extended by org.nakedobjects.runtime.persistence.objectstore.ObjectStorePersistenceMechanismInstallerAbstract
              extended by org.nakedobjects.runtime.objectstore.inmemory.InMemoryPersistenceMechanismInstaller
All Implemented Interfaces:
ApplicationScopedComponent, Component, Installer, ConfigurationBuilderAware, InstallerLookupAware, PersistenceMechanismInstaller, PersistenceSessionFactoryDelegate

public class InMemoryPersistenceMechanismInstaller
extends ObjectStorePersistenceMechanismInstallerAbstract

Installs the in-memory object store.


Field Summary
 
Fields inherited from interface org.nakedobjects.runtime.persistence.PersistenceMechanismInstaller
TYPE
 
Constructor Summary
InMemoryPersistenceMechanismInstaller()
           
 
Method Summary
protected  ObjectStore createObjectStore(NakedObjectConfiguration configuration, AdapterFactory adapterFactory, AdapterManager adapterManager)
          Hook method to return ObjectStore.
 PersistenceSessionFactory createPersistenceSessionFactory(DeploymentType deploymentType)
           
 
Methods inherited from class org.nakedobjects.runtime.persistence.objectstore.ObjectStorePersistenceMechanismInstallerAbstract
createObjectStorePersistor, createPersistAlgorithm, createPersistenceSession, createTransactionManager
 
Methods inherited from class org.nakedobjects.runtime.persistence.PersistenceMechanismInstallerAbstract
createAdapterFactory, createAdapterManager, createContainer, createObjectFactory, createOidGenerator, createPersistenceSession, createRuntimeContext, createServicesInjector, getInstallerLookup, setInstallerLookup
 
Methods inherited from class org.nakedobjects.runtime.installers.InstallerAbstract
addConfigurationResources, getConfiguration, getConfigurationResources, getName, getType, init, setConfiguration, setConfigurationBuilder, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.Installer
getConfigurationResources, getName, getType
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 

Constructor Detail

InMemoryPersistenceMechanismInstaller

public InMemoryPersistenceMechanismInstaller()
Method Detail

createPersistenceSessionFactory

public PersistenceSessionFactory createPersistenceSessionFactory(DeploymentType deploymentType)

createObjectStore

protected ObjectStore createObjectStore(NakedObjectConfiguration configuration,
                                        AdapterFactory adapterFactory,
                                        AdapterManager adapterManager)
Hook method to return ObjectStore.

Specified by:
createObjectStore in class ObjectStorePersistenceMechanismInstallerAbstract


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