org.talend.esb.sam.server.persistence
Class DBInitializer
java.lang.Object
org.talend.esb.sam.server.persistence.DBInitializer
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class DBInitializer
- extends Object
- implements org.springframework.beans.factory.InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBInitializer
public DBInitializer()
setDataSource
public void setDataSource(DataSource dataSource)
setRecreateDb
public void setRecreateDb(boolean recreateDb)
setCreateSql
public void setCreateSql(String createSql)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2011 Talend Inc.. All Rights Reserved.