Uses of Interface
org.springframework.transaction.TransactionStatus
Package
Description
This package contains the base message listener container facility.
Spring's core transaction management APIs (independent of any specific transaction
management system); an exception hierarchy for Spring's transaction infrastructure;
and transaction manager, definition, and status interfaces.
AOP-based solution for declarative transaction demarcation.
Support classes for the org.springframework.transaction package.
-
Uses of TransactionStatus in org.springframework.jms.listener
Modifier and TypeMethodDescriptionprotected boolean
AbstractPollingMessageListenerContainer.doReceiveAndExecute
(Object invoker, Session session, MessageConsumer consumer, TransactionStatus status) Actually execute the listener for a message received from the given consumer, fetching all requires resources and invoking the listener. -
Uses of TransactionStatus in org.springframework.transaction
Modifier and TypeMethodDescriptionPlatformTransactionManager.getTransaction
(TransactionDefinition definition) Return a currently active transaction or create a new one, according to the specified propagation behavior.Modifier and TypeMethodDescriptionvoid
PlatformTransactionManager.commit
(TransactionStatus status) Commit the given transaction, with regard to its status.void
PlatformTransactionManager.rollback
(TransactionStatus status) Perform a rollback of the given transaction. -
Uses of TransactionStatus in org.springframework.transaction.interceptor
Modifier and TypeMethodDescriptionstatic TransactionStatus
TransactionAspectSupport.currentTransactionStatus()
Return the transaction status of the current method invocation.TransactionAspectSupport.TransactionInfo.getTransactionStatus()
Modifier and TypeMethodDescriptionvoid
TransactionAspectSupport.TransactionInfo.newTransactionStatus
(TransactionStatus status) protected TransactionAspectSupport.TransactionInfo
TransactionAspectSupport.prepareTransactionInfo
(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification, TransactionStatus status) Prepare a TransactionInfo for the given attribute and status object. -
Uses of TransactionStatus in org.springframework.transaction.support
Modifier and TypeClassDescriptionclass
Abstract base implementation of theTransactionStatus
interface.class
Default implementation of theTransactionStatus
interface, used byAbstractPlatformTransactionManager
.class
A simpleTransactionStatus
implementation.Modifier and TypeMethodDescriptionfinal TransactionStatus
AbstractPlatformTransactionManager.getTransaction
(TransactionDefinition definition) This implementation handles propagation behavior.Modifier and TypeMethodDescriptionfinal void
AbstractPlatformTransactionManager.commit
(TransactionStatus status) This implementation of commit handles participating in existing transactions and programmatic rollback requests.TransactionCallback.doInTransaction
(TransactionStatus status) Gets called byTransactionTemplate.execute(org.springframework.transaction.support.TransactionCallback<T>)
within a transactional context.final Object
TransactionCallbackWithoutResult.doInTransaction
(TransactionStatus status) protected abstract void
TransactionCallbackWithoutResult.doInTransactionWithoutResult
(TransactionStatus status) Gets called byTransactionTemplate.execute
within a transactional context.final void
AbstractPlatformTransactionManager.rollback
(TransactionStatus status) This implementation of rollback handles participating in existing transactions.Modifier and TypeMethodDescriptiondefault void
TransactionOperations.executeWithoutResult
(Consumer<TransactionStatus> action) Execute the action specified by the givenRunnable
within a transaction.