public class BPELDAOConnectionFactoryImpl extends java.lang.Object implements BpelDAOConnectionFactoryJDBC
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManagerFactory |
_emf |
| Constructor and Description |
|---|
BPELDAOConnectionFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected BPELDAOConnectionImpl |
createBPELDAOConnection(javax.persistence.EntityManager em) |
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 |
setDataSource(javax.sql.DataSource datasource)
Set the managed data source (transactions tied to transaction manager).
|
void |
setDBDictionary(java.lang.String dbd) |
void |
setTransactionManager(java.lang.Object tm)
Set the transaction manager.
|
void |
setTransactionManager(javax.transaction.TransactionManager tm) |
void |
setUnmanagedDataSource(javax.sql.DataSource ds)
Set the unmanaged data source.
|
void |
shutdown() |
public BpelDAOConnection getConnection()
BpelDAOConnectionFactorygetConnection in interface BpelDAOConnectionFactoryBpelDAOConnection connection object to the state
store.protected BPELDAOConnectionImpl createBPELDAOConnection(javax.persistence.EntityManager em)
public void init(java.util.Properties properties)
BpelDAOConnectionFactoryinit in interface BpelDAOConnectionFactorypublic void setTransactionManager(javax.transaction.TransactionManager tm)
public void setDataSource(javax.sql.DataSource datasource)
BpelDAOConnectionFactoryJDBCsetDataSource in interface BpelDAOConnectionFactoryJDBCpublic void setDBDictionary(java.lang.String dbd)
public void setTransactionManager(java.lang.Object tm)
BpelDAOConnectionFactoryJDBCsetTransactionManager in interface BpelDAOConnectionFactoryJDBCpublic void setUnmanagedDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBCsetUnmanagedDataSource in interface BpelDAOConnectionFactoryJDBCpublic void shutdown()
shutdown in interface BpelDAOConnectionFactorypublic javax.sql.DataSource getDataSource()
getDataSource in interface BpelDAOConnectionFactory