org.apache.ode.bpel.dao
Interface BpelDAOConnectionFactory

All Known Subinterfaces:
BpelDAOConnectionFactoryJDBC
All Known Implementing Classes:
BpelDAOConnectionFactoryImpl, BpelDAOConnectionFactoryImpl, BPELDAOConnectionFactoryImpl

public interface BpelDAOConnectionFactory


Method Summary
 BpelDAOConnection getConnection()
          Create a JTA transaction-aware state store connection to an the state store.
 javax.sql.DataSource getDataSource()
           
 void init(java.util.Properties properties)
          Initializes connection factory with properties required to establish a connection.
 void shutdown()
           
 

Method Detail

getConnection

BpelDAOConnection getConnection()
Create a JTA transaction-aware state store connection to an the state store. The state store must have previously been created in order for this method to be succesful.

Returns:
a BpelDAOConnection connection object to the state store.

init

void init(java.util.Properties properties)
Initializes connection factory with properties required to establish a connection.

Parameters:
properties -

shutdown

void shutdown()

getDataSource

javax.sql.DataSource getDataSource()