org.apache.ode.bpel.engine
Class BpelDatabase

java.lang.Object
  extended by org.apache.ode.bpel.engine.BpelDatabase

public class BpelDatabase
extends java.lang.Object

Mostly of historical interest. Provides transactional access to the BPEL database, defines a Callable-style interface for transactions.

Should probably be eliminated. --mszefler 2007-07-26


Nested Class Summary
static interface BpelDatabase.Callable<T>
           
 
Field Summary
protected  org.apache.ode.bpel.engine.Contexts _contexts
           
protected  BpelDAOConnectionFactory _sscf
           
 
Method Summary
<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

_contexts

protected org.apache.ode.bpel.engine.Contexts _contexts
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