|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl
public class BpelDAOConnectionFactoryImpl
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()
Create a JTA transaction-aware state store connection to an the state store. |
javax.sql.DataSource |
getDataSource()
|
void |
init(java.util.Properties initialProps)
Initializes connection factory with properties required to establish a connection. |
void |
setDataSource(javax.sql.DataSource ds)
Set the managed data source (transactions tied to transaction manager). |
void |
setTransactionManager(java.lang.Object tm)
Set the transaction manager. |
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 SessionManager _sessionManager
| Constructor Detail |
|---|
public BpelDAOConnectionFactoryImpl()
| Method Detail |
|---|
public BpelDAOConnection getConnection()
BpelDAOConnectionFactory
getConnection in interface BpelDAOConnectionFactoryBpelDAOConnection connection object to the state
store.public void init(java.util.Properties initialProps)
BpelDAOConnectionFactory
init in interface BpelDAOConnectionFactoryBpelDAOConnectionFactory.init(java.util.Properties)
protected SessionManager createSessionManager(java.util.Properties properties,
javax.sql.DataSource ds,
javax.transaction.TransactionManager tm)
public void shutdown()
shutdown in interface BpelDAOConnectionFactorypublic void setDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBC
setDataSource in interface BpelDAOConnectionFactoryJDBCpublic javax.sql.DataSource getDataSource()
getDataSource in interface BpelDAOConnectionFactorypublic void setTransactionManager(java.lang.Object tm)
BpelDAOConnectionFactoryJDBC
setTransactionManager in interface BpelDAOConnectionFactoryJDBCpublic void setUnmanagedDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBC
setUnmanagedDataSource in interface BpelDAOConnectionFactoryJDBC
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||