public class BpelDAOConnectionFactoryImpl extends java.lang.Object implements BpelDAOConnectionFactoryJDBC
BpelDAOConnectionFactory
implementation.Modifier and Type | Field and Description |
---|---|
protected SessionManager |
_sessionManager |
Constructor and Description |
---|
BpelDAOConnectionFactoryImpl()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected SessionManager |
createSessionManager(java.util.Properties properties,
javax.sql.DataSource ds,
javax.transaction.TransactionManager tm) |
BpelDAOConnection |
getConnection()
Create a JTA transaction-aware state store connection to an the state store.
|
javax.sql.DataSource |
getDataSource() |
void |
init(java.util.Properties initialProps)
Initializes connection factory with properties required to establish a
connection.
|
void |
setDataSource(javax.sql.DataSource ds)
Set the managed data source (transactions tied to transaction manager).
|
void |
setTransactionManager(java.lang.Object tm)
Set the transaction manager.
|
void |
setUnmanagedDataSource(javax.sql.DataSource ds)
Set the unmanaged data source.
|
void |
shutdown() |
protected SessionManager _sessionManager
public BpelDAOConnection getConnection()
BpelDAOConnectionFactory
getConnection
in interface BpelDAOConnectionFactory
BpelDAOConnection
connection object to the state
store.public void init(java.util.Properties initialProps)
BpelDAOConnectionFactory
init
in interface BpelDAOConnectionFactory
BpelDAOConnectionFactory.init(java.util.Properties)
protected SessionManager createSessionManager(java.util.Properties properties, javax.sql.DataSource ds, javax.transaction.TransactionManager tm)
public void shutdown()
shutdown
in interface BpelDAOConnectionFactory
public void setDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBC
setDataSource
in interface BpelDAOConnectionFactoryJDBC
public javax.sql.DataSource getDataSource()
getDataSource
in interface BpelDAOConnectionFactory
public void setTransactionManager(java.lang.Object tm)
BpelDAOConnectionFactoryJDBC
setTransactionManager
in interface BpelDAOConnectionFactoryJDBC
public void setUnmanagedDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBC
setUnmanagedDataSource
in interface BpelDAOConnectionFactoryJDBC