See: Description
| Interface | Description |
|---|---|
| LocalResource |
Resources that can integrate with local transactions should do so using this
interface
|
| ResourceProvider<T> |
A resource provider is used to provide a transactional resource to the
application
|
| TransactionContext |
A transaction context defines the current transaction, and allows resources
to register information and/or synchronizations
|
| TransactionControl |
The interface used by clients to control the active transaction context
|
| TransactionStarter |
Implementations of this interface are able to run a piece of work within a
transaction
|
| Class | Description |
|---|---|
| TransactionBuilder |
A builder for a piece of transactional work
|
| 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 | Description |
|---|---|
| ScopedWorkException |
An Exception that is thrown when a piece of scoped work exits with an
Exception. |
| TransactionException |
An Exception indicating that there was a problem with starting, finishing,
suspending or resuming a transaction
|
| TransactionRolledBackException |
An Exception indicating that the active transaction was unexpectedly rolled
back
|
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)"
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0