org.apache.ode.dao.jpa
Class BPELDAOConnectionFactoryImpl
java.lang.Object
org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl
- All Implemented Interfaces:
- BpelDAOConnectionFactory, BpelDAOConnectionFactoryJDBC
public class BPELDAOConnectionFactoryImpl
- extends java.lang.Object
- implements BpelDAOConnectionFactoryJDBC
- Author:
- Matthieu Riou
|
Field Summary |
protected javax.persistence.EntityManagerFactory |
_emf
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_emf
protected javax.persistence.EntityManagerFactory _emf
BPELDAOConnectionFactoryImpl
public BPELDAOConnectionFactoryImpl()
getExistingJDBCConnection
public static java.sql.Connection getExistingJDBCConnection()
- See Also:
http://openjpa.apache.org/builds/2.2.1/apache-openjpa/docs/ref_guide_dbsetup_sqlconn.html.
getConnection
public BpelDAOConnection getConnection()
- Specified by:
getConnection in interface BpelDAOConnectionFactory
createBPELDAOConnection
protected BPELDAOConnectionImpl createBPELDAOConnection(javax.persistence.EntityManager em)
init
public void init(java.util.Properties properties)
- Specified by:
init in interface BpelDAOConnectionFactory
setTransactionManager
public void setTransactionManager(javax.transaction.TransactionManager tm)
setDataSource
public void setDataSource(javax.sql.DataSource datasource)
- Specified by:
setDataSource in interface BpelDAOConnectionFactoryJDBC
setDBDictionary
public void setDBDictionary(java.lang.String dbd)
setTransactionManager
public void setTransactionManager(java.lang.Object tm)
- Specified by:
setTransactionManager in interface BpelDAOConnectionFactoryJDBC
setUnmanagedDataSource
public void setUnmanagedDataSource(javax.sql.DataSource ds)
- Specified by:
setUnmanagedDataSource in interface BpelDAOConnectionFactoryJDBC
shutdown
public void shutdown()
- Specified by:
shutdown in interface BpelDAOConnectionFactory
getDataSource
public javax.sql.DataSource getDataSource()
- Specified by:
getDataSource in interface BpelDAOConnectionFactory
Copyright © 2015 WSO2. All Rights Reserved.