Top Description Interfaces Classes Enums
module org.osgi.service.transaction.control

Package org.osgi.service.transaction.control

Annotations
@Version:1.0.0
Imports
org.osgi.annotation.versioning.Version

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)"

Author
$Id: caf11a4496507b92d65a168c9a01a71fdf70582c $

Interface Summary

Modifier and TypeInterface and Description
public interface
LocalResource

Resources that can integrate with local transactions should do so using this interface

public interface
ResourceProvider<T>

A resource provider is used to provide a transactional resource to the application

public interface
TransactionContext

A transaction context defines the current transaction, and allows resources to register information and/or synchronizations

public interface
TransactionControl

The interface used by clients to control the active transaction context

public interface
TransactionStarter

Implementations of this interface are able to run a piece of work within a transaction

Class Summary

Modifier and TypeClass and Description
public class
ScopedWorkException

An Exception that is thrown when a piece of scoped work exits with an Exception.

public abstract class
TransactionBuilder

A builder for a piece of transactional work

public class
TransactionException

An Exception indicating that there was a problem with starting, finishing, suspending or resuming a transaction

public class
TransactionRolledBackException

An Exception indicating that the active transaction was unexpectedly rolled back

Enum Summary

Modifier and TypeEnum and Description
public enum
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.