Uses of Class
org.springframework.transaction.reactive.TransactionContext
Package
Description
Support classes for reactive transaction management.
-
Uses of TransactionContext in org.springframework.transaction.reactive
Modifier and TypeMethodDescriptionstatic reactor.core.publisher.Mono<TransactionContext>
TransactionContextManager.currentContext()
Obtain the currentTransactionContext
from the subscriber context or the transactional context holder.Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
TransactionalEventPublisher.publishEvent
(Function<TransactionContext, ApplicationEvent> eventCreationFunction) Publish an event created through the given function which maps the transaction source object (theTransactionContext
) to the event instance.ModifierConstructorDescriptionTransactionSynchronizationManager
(TransactionContext transactionContext)