org.apache.ode.il.dbutil
Class Database
java.lang.Object
org.apache.ode.il.dbutil.Database
public class Database
- extends java.lang.Object
Does the dirty work of setting up / obtaining a DataSource based on the configuration in the OdeConfigProperties
object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Database
public Database(OdeConfigProperties props)
setWorkRoot
public void setWorkRoot(java.io.File workRoot)
setTransactionManager
public void setTransactionManager(javax.transaction.TransactionManager txm)
start
public void start()
throws DatabaseConfigException
- Throws:
DatabaseConfigException
shutdown
public void shutdown()
getDataSource
public javax.sql.DataSource getDataSource()
createDaoCF
public BpelDAOConnectionFactoryJDBC createDaoCF()
throws DatabaseConfigException
- Throws:
DatabaseConfigException