public interface GlobalTransactionManager extends ADEPT2Service
GlobalTransactionManager handles transactions globally, this
can be either service-specific, spanning several services, spanning several
databases or even several database management systems. TxManager handling
transactions. This handles transactions that span several method calls
without having the need to provide the corresponding Connection
as parameter to each of the involved methods. By sharing one
TxManager by several services (but the very same database),
transactions can span several services easily.| Modifier and Type | Method and Description |
|---|---|
TxManager<SessionToken> |
getTxManager(JDBCDataSource dataSource)
Gets a transaction manager based on
SessionToken for the
designated data source. |
getLocalUris, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, init, ping, preShutdown, shutdown, startTxManager<SessionToken> getTxManager(JDBCDataSource dataSource)
SessionToken for the
designated data source. This may be a new TxManager (and
therefore service-specific) or a transaction manager used by several
services. dataSource - The data source of the using service to be wrapped by a
transaction manager.