Package | Description |
---|---|
org.osgi.service.transaction.control |
Transaction Control Service Package Version 1.0.
|
Modifier and Type | Class and Description |
---|---|
class |
TransactionRolledBackException
An Exception indicating that the active transaction was unexpectedly rolled
back
|
Modifier and Type | Method and Description |
---|---|
void |
LocalResource.commit()
Commit the resource
|
T |
ResourceProvider.getResource(TransactionControl txControl)
Get a resource which will associate with the current transaction context
when used
|
<T> T |
TransactionStarter.notSupported(java.util.concurrent.Callable<T> work)
The supplied piece of work must be run outside the context of a
transaction.
|
<T> T |
TransactionStarter.required(java.util.concurrent.Callable<T> work)
A transaction is required to run the supplied piece of work.
|
<T> T |
TransactionStarter.requiresNew(java.util.concurrent.Callable<T> work)
A new transaction is required to run the supplied piece of work.
|
void |
LocalResource.rollback()
Roll back the resource
|
<T> T |
TransactionStarter.supports(java.util.concurrent.Callable<T> work)
The supplied piece of work may run inside or outside the context of a
transaction.
|
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0