Uses of Class
org.osgi.service.transaction.control.TransactionException
Package
Description
Transaction Control Service Package Version 1.0.
-
Uses of TransactionException in org.osgi.service.transaction.control
Modifier and TypeClassDescriptionclass
An Exception indicating that the active transaction was unexpectedly rolled backModifier and TypeMethodDescriptionvoid
LocalResource.commit()
Commit the resourceResourceProvider.getResource
(TransactionControl txControl) Get a resource which will associate with the current transaction context when used<T> T
TransactionStarter.notSupported
(Callable<T> work) The supplied piece of work must be run outside the context of a transaction.<T> T
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
The supplied piece of work may run inside or outside the context of a transaction.