|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.persistence.PersistenceSessionFactoryDelegating
public abstract class PersistenceSessionFactoryDelegating
Implementation that just delegates to a supplied PersistenceSessionFactory.
| Constructor Summary | |
|---|---|
PersistenceSessionFactoryDelegating(DeploymentType deploymentType,
PersistenceSessionFactoryDelegate persistenceSessionFactoryDelegate)
|
|
| Method Summary | |
|---|---|
PersistenceSession |
createPersistenceSession()
Creates a PersistenceSession with the implementing object as the
PersistenceSession's owning factory. |
protected void |
doInit()
Optional hook method for implementation-specific initialization. |
protected void |
doShutdown()
Optional hook method for implementation-specific shutdown. |
PersistenceSessionFactoryDelegate |
getDelegate()
|
DeploymentType |
getDeploymentType()
|
java.util.List<java.lang.Object> |
getServices()
|
SpecificationLoader |
getSpecificationLoader()
Make available when creating PersistenceSessions. |
void |
init()
|
java.lang.Boolean |
isFixturesInstalled()
|
void |
setFixturesInstalled(java.lang.Boolean fixturesInstalled)
|
void |
setServices(java.util.List<java.lang.Object> serviceList)
|
void |
setSpecificationLoader(SpecificationLoader specificationLoader)
Injected prior to init(). |
void |
shutdown()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceSessionFactoryDelegating(DeploymentType deploymentType,
PersistenceSessionFactoryDelegate persistenceSessionFactoryDelegate)
| Method Detail |
|---|
public DeploymentType getDeploymentType()
getDeploymentType in interface PersistenceSessionFactorypublic PersistenceSessionFactoryDelegate getDelegate()
public PersistenceSession createPersistenceSession()
PersistenceSessionFactoryPersistenceSession with the implementing object as the
PersistenceSession's owning factory.
createPersistenceSession in interface PersistenceSessionFactorypublic final void init()
init in interface ApplicationScopedComponentprotected void doInit()
public final void shutdown()
shutdown in interface ApplicationScopedComponentprotected void doShutdown()
public java.lang.Boolean isFixturesInstalled()
isFixturesInstalled in interface FixturesInstalledFlagpublic void setFixturesInstalled(java.lang.Boolean fixturesInstalled)
setFixturesInstalled in interface FixturesInstalledFlagpublic java.util.List<java.lang.Object> getServices()
getServices in interface PersistenceSessionFactorypublic void setServices(java.util.List<java.lang.Object> serviceList)
setServices in interface PersistenceSessionFactorypublic SpecificationLoader getSpecificationLoader()
PersistenceSessionFactoryPersistenceSessions.
Needed for the RuntimeContextFromSession.
getSpecificationLoader in interface PersistenceSessionFactorysetSpecificationLoader(SpecificationLoader)public void setSpecificationLoader(SpecificationLoader specificationLoader)
init().
setSpecificationLoader in interface SpecificationLoaderAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||