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()
BpelDAOConnectionFactorygetConnection in interface BpelDAOConnectionFactoryBpelDAOConnection connection object to the state
store.public void init(java.util.Properties initialProps)
BpelDAOConnectionFactoryinit in interface BpelDAOConnectionFactoryBpelDAOConnectionFactory.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 BpelDAOConnectionFactorypublic void setDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBCsetDataSource in interface BpelDAOConnectionFactoryJDBCpublic javax.sql.DataSource getDataSource()
getDataSource in interface BpelDAOConnectionFactorypublic void setTransactionManager(java.lang.Object tm)
BpelDAOConnectionFactoryJDBCsetTransactionManager in interface BpelDAOConnectionFactoryJDBCpublic void setUnmanagedDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBCsetUnmanagedDataSource in interface BpelDAOConnectionFactoryJDBC