|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.invocation.lifecycle.LifecycleHibernateTasks
public final class LifecycleHibernateTasks
utility class with startup and shutdown tasks of the Lifecycle.
| Method Summary | |
|---|---|
protected static void |
addBundleToHibernate(Bundle bundle, Lifecycle lc)
adds a Bundle to HibernateTM or refreshes the Object
with the persisted data. |
protected static void |
executePostHibernateStartUpSQL(ServletConfig config, Lifecycle lc)
executes the post HibernateTM startup custom SQL defined in pulse.xml. |
protected static void |
initialiseHibernate(Lifecycle lc)
Initialises the HibernateDataSource. |
protected static void |
initialiseHibernate2ndLevelCache(java.io.File cacheConfigFile,
org.jdom.Element hibernateConfig, Lifecycle lc)
initialises the settings for HibernateTM's 2nd level cache. |
protected static void |
initialiseRegistries(Lifecycle lc)
initialises the ContentRegistry, the Sitemap and the
AttributeRegistry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected static void initialiseRegistries(Lifecycle lc)
ContentRegistry, the Sitemap and the
AttributeRegistry.
Builds a ContentRegisty, if no ContentRegistry is stored.
Adds a RegistryBundleNode for each Bundle which has
contents defined in its bundle.xml and that is not in
the ContentRegistry.
lc - the lifecycleprotected static void initialiseHibernate(Lifecycle lc)
lc - the lifecycle
protected static void initialiseHibernate2ndLevelCache(java.io.File cacheConfigFile,
org.jdom.Element hibernateConfig, Lifecycle lc)
cacheConfigFile - the cache configuration filehibernateConfig - the preparsed configuration from "pulse.xml"lc - the lifecycleprotected static void addBundleToHibernate(Bundle bundle, Lifecycle lc)
Bundle to HibernateTM or refreshes the Object
with the persisted data.
bundle - the Bundle to be processedlc - the lifecycleprotected static void executePostHibernateStartUpSQL(ServletConfig config, Lifecycle lc)
config - the main configurationlc - the lifecycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||