org.apache.ode.dao.jpa
Class BPELDAOConnectionFactoryImpl

java.lang.Object
  extended by org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl
All Implemented Interfaces:
org.apache.ode.bpel.dao.BpelDAOConnectionFactory, org.apache.ode.bpel.dao.BpelDAOConnectionFactoryJDBC

public class BPELDAOConnectionFactoryImpl
extends java.lang.Object
implements org.apache.ode.bpel.dao.BpelDAOConnectionFactoryJDBC


Field Summary
protected  javax.persistence.EntityManagerFactory _emf
           
 
Constructor Summary
BPELDAOConnectionFactoryImpl()
           
 
Method Summary
protected  BPELDAOConnectionImpl createBPELDAOConnection(javax.persistence.EntityManager em)
           
 org.apache.ode.bpel.dao.BpelDAOConnection getConnection()
           
 javax.sql.DataSource getDataSource()
           
 void init(java.util.Properties properties)
           
 void setDataSource(javax.sql.DataSource datasource)
           
 void setDBDictionary(java.lang.String dbd)
           
 void setTransactionManager(java.lang.Object tm)
           
 void setTransactionManager(javax.transaction.TransactionManager tm)
           
 void setUnmanagedDataSource(javax.sql.DataSource ds)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_emf

protected javax.persistence.EntityManagerFactory _emf
Constructor Detail

BPELDAOConnectionFactoryImpl

public BPELDAOConnectionFactoryImpl()
Method Detail

getConnection

public org.apache.ode.bpel.dao.BpelDAOConnection getConnection()
Specified by:
getConnection in interface org.apache.ode.bpel.dao.BpelDAOConnectionFactory

createBPELDAOConnection

protected BPELDAOConnectionImpl createBPELDAOConnection(javax.persistence.EntityManager em)

init

public void init(java.util.Properties properties)
Specified by:
init in interface org.apache.ode.bpel.dao.BpelDAOConnectionFactory

setTransactionManager

public void setTransactionManager(javax.transaction.TransactionManager tm)

setDataSource

public void setDataSource(javax.sql.DataSource datasource)
Specified by:
setDataSource in interface org.apache.ode.bpel.dao.BpelDAOConnectionFactoryJDBC

setDBDictionary

public void setDBDictionary(java.lang.String dbd)

setTransactionManager

public void setTransactionManager(java.lang.Object tm)
Specified by:
setTransactionManager in interface org.apache.ode.bpel.dao.BpelDAOConnectionFactoryJDBC

setUnmanagedDataSource

public void setUnmanagedDataSource(javax.sql.DataSource ds)
Specified by:
setUnmanagedDataSource in interface org.apache.ode.bpel.dao.BpelDAOConnectionFactoryJDBC

shutdown

public void shutdown()
Specified by:
shutdown in interface org.apache.ode.bpel.dao.BpelDAOConnectionFactory

getDataSource

public javax.sql.DataSource getDataSource()
Specified by:
getDataSource in interface org.apache.ode.bpel.dao.BpelDAOConnectionFactory