public class Database
extends java.lang.Object
OdeConfigProperties object.| Constructor and Description |
|---|
Database(OdeConfigProperties props) |
| Modifier and Type | Method and Description |
|---|---|
BpelDAOConnectionFactoryJDBC |
createDaoCF() |
javax.sql.DataSource |
getDataSource() |
<T> T |
lookupInJndi(java.lang.String objName) |
void |
setTransactionManager(javax.transaction.TransactionManager txm) |
void |
setWorkRoot(java.io.File workRoot) |
void |
shutdown() |
void |
start() |
public Database(OdeConfigProperties props)
public void setWorkRoot(java.io.File workRoot)
public void setTransactionManager(javax.transaction.TransactionManager txm)
public void start()
throws DatabaseConfigException
DatabaseConfigExceptionpublic void shutdown()
public javax.sql.DataSource getDataSource()
public <T> T lookupInJndi(java.lang.String objName)
throws java.lang.Exception
java.lang.Exceptionpublic BpelDAOConnectionFactoryJDBC createDaoCF() throws DatabaseConfigException
DatabaseConfigExceptionCopyright © 2015 WSO2. All Rights Reserved.