|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.talend.esb.sam.server.persistence.DBInitializer
public class DBInitializer
The Class DBInitializer using for initializing persistence.
| Constructor Summary | |
|---|---|
DBInitializer()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
setCreateSql(String createSql)
Sets the sql. |
void |
setDataSource(DataSource dataSource)
Sets the data source. |
void |
setRecreateDb(boolean recreateDb)
Sets the recreate db flag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBInitializer()
| Method Detail |
|---|
public void setDataSource(DataSource dataSource)
dataSource - the new data sourcepublic void setRecreateDb(boolean recreateDb)
recreateDb - the recreateDb flagpublic void setCreateSql(String createSql)
createSql - the sql
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||