| Package | Description |
|---|---|
| org.osgi.service.transaction.control |
| 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 automatically associate with the current
scope
|
<T> T |
TransactionStarter.notSupported(Callable<T> work)
The supplied piece of work must be run outside the context of a
transaction.
|
<T> T |
TransactionStarter.required(Callable<T> work)
A transaction is required to run the supplied piece of work.
|
<T> T |
TransactionStarter.requiresNew(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(Callable<T> work)
The supplied piece of work may run inside or outside the context of a
transaction.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.