|
|||||||||
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 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |