|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.blojsom.util.database.DatabaseLoader
Database loader
| Constructor Summary | |
DatabaseLoader()
Create a new instance of the Database loader |
|
| Method Summary | |
void |
init()
Initalize the blojsom database |
void |
setDbScript(java.lang.String dbScript)
Set the DB script to initialize and load the database |
void |
setDetectBlojsomSQL(java.lang.String detectBlojsomSQL)
SQL to detect blojsom |
void |
setServletConfig(javax.servlet.ServletConfig servletConfig)
Set the ServletConfig |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Set the SessionFactory |
void |
setUpgrading(boolean upgrading)
Signal an upgrade for the database loader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DatabaseLoader()
| Method Detail |
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
SessionFactory
sessionFactory - SessionFactorypublic void setDbScript(java.lang.String dbScript)
dbScript - DB script to initialize and load the databasepublic void setServletConfig(javax.servlet.ServletConfig servletConfig)
ServletConfig
servletConfig - ServletConfigpublic void setDetectBlojsomSQL(java.lang.String detectBlojsomSQL)
detectBlojsomSQL - SQL to detect blojsompublic void setUpgrading(boolean upgrading)
upgrading - true if upgrading the database using the database script, false otherwisepublic void init()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||