| Package | Description |
|---|---|
| org.osgi.service.transaction.control |
| Modifier and Type | Method and Description |
|---|---|
TransactionBuilder |
TransactionControl.build()
Build a transaction context to surround a piece of transactional work
|
TransactionBuilder |
TransactionBuilder.noRollbackFor(Class<? extends Throwable> t,
Class<? extends Throwable>... throwables)
Declare a list of Exception types (and their subtypes) that
must not trigger a rollback.
|
abstract TransactionBuilder |
TransactionBuilder.readOnly()
Indicate to the Transaction Control service that this transaction
will be read-only.
|
TransactionBuilder |
TransactionBuilder.rollbackFor(Class<? extends Throwable> t,
Class<? extends Throwable>... throwables)
Declare a list of Exception types (and their subtypes) that must
trigger a rollback.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.