|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.persistence.PersistenceSessionFactoryDelegating
org.nakedobjects.runtime.objectstore.inmemory.InMemoryPersistenceSessionFactory
public class InMemoryPersistenceSessionFactory
| Constructor Summary | |
|---|---|
InMemoryPersistenceSessionFactory(DeploymentType deploymentType,
PersistenceSessionFactoryDelegate persistenceSessionFactoryDelegate)
|
|
| Method Summary | |
|---|---|
void |
attach(PersistenceSession persistenceSession,
ObjectStorePersistedObjects persistedObjects)
Not API - called when InMemoryObjectStore is closed. |
ObjectStorePersistedObjects |
createPersistedObjects()
Not API - called when InMemoryObjectStore first opened. |
PersistenceSession |
createPersistenceSession()
Creates a PersistenceSession with the implementing object as the
PersistenceSession's owning factory. |
protected void |
doShutdown()
Optional hook method for implementation-specific shutdown. |
protected ObjectStorePersistedObjects |
getPersistedObjects()
|
| Methods inherited from class org.nakedobjects.runtime.persistence.PersistenceSessionFactoryDelegating |
|---|
doInit, getDelegate, getDeploymentType, getServices, getSpecificationLoader, init, isFixturesInstalled, setFixturesInstalled, setServices, setSpecificationLoader, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InMemoryPersistenceSessionFactory(DeploymentType deploymentType,
PersistenceSessionFactoryDelegate persistenceSessionFactoryDelegate)
| Method Detail |
|---|
protected ObjectStorePersistedObjects getPersistedObjects()
public PersistenceSession createPersistenceSession()
PersistenceSessionFactoryPersistenceSession with the implementing object as the
PersistenceSession's owning factory.
createPersistenceSession in interface PersistenceSessionFactorycreatePersistenceSession in class PersistenceSessionFactoryDelegatingpublic ObjectStorePersistedObjects createPersistedObjects()
InMemoryObjectStore first opened.
public void attach(PersistenceSession persistenceSession,
ObjectStorePersistedObjects persistedObjects)
InMemoryObjectStore is closed.
protected void doShutdown()
PersistenceSessionFactoryDelegating
doShutdown in class PersistenceSessionFactoryDelegating
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||