Uses of Class
org.osgi.service.transaction.control.TransactionBuilder
Package
Description
Transaction Control Service Package Version 1.0.
-
Uses of TransactionBuilder in org.osgi.service.transaction.control
Modifier and TypeMethodDescriptionTransactionControl.build()
Build a transaction context to surround a piece of transactional workfinal 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.final 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.