|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.openutils.migration.DbSetupManagerImpl
public class DbSetupManagerImpl
DB setup manager: handles db setup and upgrade.
| Constructor Summary | |
|---|---|
DbSetupManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
setDataSource(javax.sql.DataSource dataSource)
Setter for dataSource. |
void |
setEnabled(boolean enabled)
Sets the enabled. |
void |
setName(java.lang.String name)
Sets the name (outputted in logs, just for reference) |
void |
setSetupTasks(java.util.List<DbTask> setupTasks)
Sets the tasks. |
void |
setTransactionTemplate(org.springframework.transaction.support.TransactionTemplate transactionTemplate)
Sets the transactionTemplate. |
void |
setUpdateTasks(java.util.List<DbUpdate> updateTasks)
Sets the updateTasks. |
void |
setVersionManager(DbVersionManager versionManager)
Sets the versionManager. |
void |
updateDDL()
Updates the DDL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbSetupManagerImpl()
| Method Detail |
|---|
public void setName(java.lang.String name)
name - the name to setpublic void setEnabled(boolean enabled)
enabled - the enabled to setpublic void setVersionManager(DbVersionManager versionManager)
versionManager - the versionManager to setpublic void setTransactionTemplate(org.springframework.transaction.support.TransactionTemplate transactionTemplate)
transactionTemplate - the transactionTemplate to setpublic void setDataSource(javax.sql.DataSource dataSource)
dataSource.
dataSource - The dataSource to set.public void setSetupTasks(java.util.List<DbTask> setupTasks)
setupTasks - the tasks to setpublic void setUpdateTasks(java.util.List<DbUpdate> updateTasks)
updateTasks - the updateTasks to setpublic void updateDDL()
DbSetupManager
updateDDL in interface DbSetupManagerit.openutils.dbupdate.DbSetupManager#updateDDL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||