|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl
public class BPELDAOConnectionFactoryImpl
| Field Summary | |
|---|---|
protected javax.persistence.EntityManagerFactory |
_emf
|
| Constructor Summary | |
|---|---|
BPELDAOConnectionFactoryImpl()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.persistence.EntityManagerFactory _emf
| Constructor Detail |
|---|
public BPELDAOConnectionFactoryImpl()
| Method Detail |
|---|
public BpelDAOConnection getConnection()
BpelDAOConnectionFactory
getConnection in interface BpelDAOConnectionFactoryBpelDAOConnection connection object to the state
store.protected BPELDAOConnectionImpl createBPELDAOConnection(javax.persistence.EntityManager em)
public void init(java.util.Properties properties)
BpelDAOConnectionFactory
init in interface BpelDAOConnectionFactorypublic void setTransactionManager(javax.transaction.TransactionManager tm)
public void setDataSource(javax.sql.DataSource datasource)
BpelDAOConnectionFactoryJDBC
setDataSource in interface BpelDAOConnectionFactoryJDBCpublic void setDBDictionary(java.lang.String dbd)
public void setTransactionManager(java.lang.Object tm)
BpelDAOConnectionFactoryJDBC
setTransactionManager in interface BpelDAOConnectionFactoryJDBCpublic void setUnmanagedDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBC
setUnmanagedDataSource in interface BpelDAOConnectionFactoryJDBCpublic void shutdown()
shutdown in interface BpelDAOConnectionFactorypublic javax.sql.DataSource getDataSource()
getDataSource in interface BpelDAOConnectionFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||