org.apache.ode.bpel.engine

## Class BpelDatabase

- java.lang.Object
- - org.apache.ode.bpel.engine.BpelDatabase

-     public class BpelDatabase
      extends java.lang.Object

  Encapsulates transactional access to the BPEL database.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static interface` | `BpelDatabase.Callable<T>`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Scheduler` | `_scheduler`
    `protected BpelDAOConnectionFactory` | `_sscf`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `exec(BpelDatabase.Callable<T> callable)` Execute a self-contained database transaction.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### _sscf

          protected BpelDAOConnectionFactory _sscf

    - #### _scheduler

          protected Scheduler _scheduler

  - ### Method Detail

    - #### exec

          public <T> T exec(BpelDatabase.Callable<T> callable)
                 throws java.lang.Exception

      Execute a self-contained database transaction.
      Parameters:
        `callable` - database transaction
      Returns:
      Throws:
        `DConnectionException`
        `java.lang.Exception`