org.apache.ode.daohib.bpel
Class BpelDAOConnectionFactoryImpl

java.lang.Object
  extended by org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl
All Implemented Interfaces:
BpelDAOConnectionFactory, BpelDAOConnectionFactoryJDBC

public class BpelDAOConnectionFactoryImpl
extends java.lang.Object
implements BpelDAOConnectionFactoryJDBC

Hibernate-based BpelDAOConnectionFactory implementation.


Field Summary
protected  SessionManager _sessionManager
           
 
Constructor Summary
BpelDAOConnectionFactoryImpl()
          Constructor.
 
Method Summary
protected  SessionManager createSessionManager(java.util.Properties properties, javax.sql.DataSource ds, javax.transaction.TransactionManager tm)
           
 BpelDAOConnection getConnection()
           
 javax.sql.DataSource getDataSource()
           
 void init(java.util.Properties initialProps)
           
 void setDataSource(javax.sql.DataSource ds)
           
 void setTransactionManager(java.lang.Object 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

_sessionManager

protected SessionManager _sessionManager
Constructor Detail

BpelDAOConnectionFactoryImpl

public BpelDAOConnectionFactoryImpl()
Constructor.

Method Detail

getConnection

public BpelDAOConnection getConnection()
Specified by:
getConnection in interface BpelDAOConnectionFactory

init

public void init(java.util.Properties initialProps)
Specified by:
init in interface BpelDAOConnectionFactory
See Also:
BpelDAOConnectionFactory.init(java.util.Properties)

createSessionManager

protected SessionManager createSessionManager(java.util.Properties properties,
                                              javax.sql.DataSource ds,
                                              javax.transaction.TransactionManager tm)

shutdown

public void shutdown()
Specified by:
shutdown in interface BpelDAOConnectionFactory

setDataSource

public void setDataSource(javax.sql.DataSource ds)
Specified by:
setDataSource in interface BpelDAOConnectionFactoryJDBC

getDataSource

public javax.sql.DataSource getDataSource()
Specified by:
getDataSource in interface BpelDAOConnectionFactory

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


Copyright © 2015 WSO2. All Rights Reserved.