Package io.micronaut.transaction.support
package io.micronaut.transaction.support
-
ClassDescriptionNOTICE: This is a fork of Spring's
AbstractPlatformTransactionManagermodernizing it to use enums, Slf4j and decoupling from Spring.Holder for suspended resources.NOTICE: This is a fork of Spring'sAbstractPlatformTransactionManagermodernizing it to use enums, Slf4j and decoupling from Spring.Holder for suspended resources.Abstract base implementation of theTransactionStatusinterface.Default implementation ofSynchronousTransactionState.Default implementation of theTransactionDefinitioninterface, offering bean-style configuration and sensible default values (PROPAGATION_REQUIRED, ISOLATION_DEFAULT, TIMEOUT_DEFAULT, readOnly=false).Default implementation of theTransactionStatusinterface, used byAbstractSynchronousTransactionManager.Exception utils.Generic interface to be implemented by resource holders.Convenient base class for resource holders.Extension of theSynchronousTransactionManagerinterface, indicating a native resource transaction manager, operating on a single target resource.Interface to be implemented by transaction objects that are able to return an internal rollback-only marker, typically from a another transaction that has participated and marked it as rollback-only.The synchronous transaction state.TransactionStateOperations<T,S extends TransactionState> Generic transaction state operations interface.Interface for transaction synchronization callbacks.Transaction synchronization status.SimpleTransactionSynchronizationadapter containing empty method implementations, for easier overriding of single methods.Central delegate that manages resources and transaction synchronizations per thread.The synchronization state.The transaction synchronization state autocloseable operation.Utility methods for triggering specificTransactionSynchronizationcallback methods on all currently registered synchronizations.Transaction utils.