|
|||||||||
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 BpelDAOConnectionFactory
BpelDAOConnection
connection object to the state
store.public void init(java.util.Properties initialProps)
BpelDAOConnectionFactory
init
in interface BpelDAOConnectionFactory
BpelDAOConnectionFactory.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 BpelDAOConnectionFactory
public void setDataSource(javax.sql.DataSource ds)
BpelDAOConnectionFactoryJDBC
setDataSource
in interface BpelDAOConnectionFactoryJDBC
public javax.sql.DataSource getDataSource()
getDataSource
in interface BpelDAOConnectionFactory
public void setTransactionManager(java.lang.Object tm)
BpelDAOConnectionFactoryJDBC
setTransactionManager
in interface BpelDAOConnectionFactoryJDBC
public 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 |