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()
BpelDAOConnectionFactory
getConnection
in interface BpelDAOConnectionFactory
BpelDAOConnection
connection object to the state
store.protected BPELDAOConnectionImpl createBPELDAOConnection(javax.persistence.EntityManager em)
public void init(java.util.Properties properties)
BpelDAOConnectionFactory
init
in interface BpelDAOConnectionFactory
public void setTransactionManager(javax.transaction.TransactionManager tm)
public void setDataSource(javax.sql.DataSource datasource)
BpelDAOConnectionFactoryJDBC
setDataSource
in interface BpelDAOConnectionFactoryJDBC
public void setDBDictionary(java.lang.String dbd)
public void setTransactionManager(java.lang.Object tm)
BpelDAOConnectionFactoryJDBC
setTransactionManager
in interface BpelDAOConnectionFactoryJDBC
public void setUnmanagedDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBC
setUnmanagedDataSource
in interface BpelDAOConnectionFactoryJDBC
public void shutdown()
shutdown
in interface BpelDAOConnectionFactory
public javax.sql.DataSource getDataSource()
getDataSource
in interface BpelDAOConnectionFactory