org.nakedobjects.runtime.persistence
Interface PersistenceSessionFactory

All Superinterfaces:
ApplicationScopedComponent, Component, SpecificationLoaderAware
All Known Implementing Classes:
InMemoryPersistenceSessionFactory, PersistenceSessionFactoryDelegating

public interface PersistenceSessionFactory
extends ApplicationScopedComponent, SpecificationLoaderAware

See Also:
PersistenceSessionFactoryDelegate

Method Summary
 PersistenceSession createPersistenceSession()
          Creates a PersistenceSession with the implementing object as the PersistenceSession's owning factory.
 DeploymentType getDeploymentType()
           
 java.util.List<java.lang.Object> getServices()
           
 SpecificationLoader getSpecificationLoader()
          Make available when creating PersistenceSessions.
 void setServices(java.util.List<java.lang.Object> servicesList)
           
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 
Methods inherited from interface org.nakedobjects.metamodel.specloader.SpecificationLoaderAware
setSpecificationLoader
 

Method Detail

getDeploymentType

DeploymentType getDeploymentType()

createPersistenceSession

PersistenceSession createPersistenceSession()
Creates a PersistenceSession with the implementing object as the PersistenceSession's owning factory.


getSpecificationLoader

SpecificationLoader getSpecificationLoader()
Make available when creating PersistenceSessions.

Needed for the RuntimeContextFromSession.


setServices

void setServices(java.util.List<java.lang.Object> servicesList)

getServices

java.util.List<java.lang.Object> getServices()


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