Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`Database(OdeConfigProperties props)`

Method Summary
`BpelDAOConnectionFactoryJDBC` | `createDaoCF()`
`javax.sql.DataSource` | `getDataSource()`
`void` | `setTransactionManager(javax.transaction.TransactionManager txm)`
`void` | `setWorkRoot(java.io.File workRoot)`
`void` | `shutdown()`
`void` | `start()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Database

    public Database(OdeConfigProperties props)

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD