@Internal
@Singleton
@Requires(classes=kotlin.coroutines.CoroutineContext.class)
public final class CoroutineTxHelper
extends java.lang.Object
Constructor and Description |
---|
CoroutineTxHelper() |
Modifier and Type | Method and Description |
---|---|
TransactionSynchronizationManager.TransactionSynchronizationState |
setupTxState(io.micronaut.aop.kotlin.KotlinInterceptedMethod kotlinInterceptedMethod)
Extract the TX state from the Kotlin's context or takes the thread-local context.
|
public TransactionSynchronizationManager.TransactionSynchronizationState setupTxState(io.micronaut.aop.kotlin.KotlinInterceptedMethod kotlinInterceptedMethod)
kotlinInterceptedMethod
- The intercepted method