Uses of Interface
org.springframework.transaction.TransactionStatus
Packages that use 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
Methods in org.springframework.jms.listener with parameters of type TransactionStatusModifier and TypeMethodDescriptionprotected booleanAbstractPollingMessageListenerContainer.doReceiveAndExecute(Object invoker, @Nullable jakarta.jms.Session session, @Nullable jakarta.jms.MessageConsumer consumer, @Nullable 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
Methods in org.springframework.transaction that return TransactionStatusModifier and TypeMethodDescriptionPlatformTransactionManager.getTransaction(@Nullable TransactionDefinition definition) Return a currently active transaction or create a new one, according to the specified propagation behavior.Methods in org.springframework.transaction with parameters of type TransactionStatusModifier and TypeMethodDescriptionvoidPlatformTransactionManager.commit(TransactionStatus status) Commit the given transaction, with regard to its status.voidPlatformTransactionManager.rollback(TransactionStatus status) Perform a rollback of the given transaction. -
Uses of TransactionStatus in org.springframework.transaction.interceptor
Methods in org.springframework.transaction.interceptor that return TransactionStatusModifier and TypeMethodDescriptionstatic TransactionStatusTransactionAspectSupport.currentTransactionStatus()Return the transaction status of the current method invocation.TransactionAspectSupport.TransactionInfo.getTransactionStatus()Methods in org.springframework.transaction.interceptor with parameters of type TransactionStatusModifier and TypeMethodDescriptionvoidTransactionAspectSupport.TransactionInfo.newTransactionStatus(@Nullable TransactionStatus status) protected TransactionAspectSupport.TransactionInfoTransactionAspectSupport.prepareTransactionInfo(@Nullable PlatformTransactionManager tm, @Nullable TransactionAttribute txAttr, String joinpointIdentification, @Nullable TransactionStatus status) Prepare a TransactionInfo for the given attribute and status object. -
Uses of TransactionStatus in org.springframework.transaction.support
Classes in org.springframework.transaction.support that implement TransactionStatusModifier and TypeClassDescriptionclassAbstract base implementation of theTransactionStatusinterface.classDefault implementation of theTransactionStatusinterface, used byAbstractPlatformTransactionManager.classA simpleTransactionStatusimplementation.Methods in org.springframework.transaction.support that return TransactionStatusModifier and TypeMethodDescriptionfinal TransactionStatusAbstractPlatformTransactionManager.getTransaction(@Nullable TransactionDefinition definition) This implementation handles propagation behavior.Methods in org.springframework.transaction.support with parameters of type TransactionStatusModifier and TypeMethodDescriptionfinal voidAbstractPlatformTransactionManager.commit(TransactionStatus status) This implementation of commit handles participating in existing transactions and programmatic rollback requests.TransactionCallback.doInTransaction(TransactionStatus status) Gets called byTransactionTemplate.execute(TransactionCallback)within a transactional context.TransactionCallbackWithoutResult.doInTransaction(TransactionStatus status) Deprecated.protected abstract voidTransactionCallbackWithoutResult.doInTransactionWithoutResult(TransactionStatus status) Deprecated.Gets called byTransactionTemplate.executewithin a transactional context.final voidAbstractPlatformTransactionManager.rollback(TransactionStatus status) This implementation of rollback handles participating in existing transactions.Method parameters in org.springframework.transaction.support with type arguments of type TransactionStatusModifier and TypeMethodDescriptiondefault voidTransactionOperations.executeWithoutResult(Consumer<TransactionStatus> action) Execute the action specified by the givenRunnablewithin a transaction.