@Version("1.0.0")
Package org.osgi.service.transaction.control
Transaction Control Service Package Version 1.0.
Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest. This package has two types of users: the consumers that use the API in this package and the providers that implement the API in this package.
Example import for consumers using the API in this package:
Import-Package: org.osgi.service.transaction.control; version="[1.0,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.service.transaction.control; version="[1.0,1.1)"
-
Interface Summary Interface Description LocalResource Resources that can integrate with local transactions should do so using this interfaceResourceProvider<T> A resource provider is used to provide a transactional resource to the applicationTransactionContext A transaction context defines the current transaction, and allows resources to register information and/or synchronizationsTransactionControl The interface used by clients to control the active transaction contextTransactionStarter Implementations of this interface are able to run a piece of work within a transaction -
Class Summary Class Description TransactionBuilder A builder for a piece of transactional work -
Enum Summary Enum Description TransactionStatus The status of the transaction A transaction may not enter all of the states in this enum, however it will always traverse the enum in ascending order. -
Exception Summary Exception Description ScopedWorkException An Exception that is thrown when a piece of scoped work exits with anException
.TransactionException An Exception indicating that there was a problem with starting, finishing, suspending or resuming a transactionTransactionRolledBackException An Exception indicating that the active transaction was unexpectedly rolled back