Class TxCompletionStageDataIntroductionHelper
- java.lang.Object
-
- io.micronaut.transaction.interceptor.TxCompletionStageDataIntroductionHelper
-
@Internal @Singleton public final class TxCompletionStageDataIntroductionHelper extends java.lang.ObjectThe transactional state propagation inCompletionStagehelper.- Since:
- 3.9.0
-
-
Constructor Summary
Constructors Constructor Description TxCompletionStageDataIntroductionHelper(CoroutineTxHelper coroutineTxHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletionStage<java.lang.Object>decorate(io.micronaut.aop.InterceptedMethod interceptedMethod, java.util.function.Supplier<java.util.concurrent.CompletionStage<java.lang.Object>> supplier)Decorate the suppliedCompletionStage.
-
-
-
Constructor Detail
-
TxCompletionStageDataIntroductionHelper
public TxCompletionStageDataIntroductionHelper(@Nullable CoroutineTxHelper coroutineTxHelper)
-
-
Method Detail
-
decorate
public java.util.concurrent.CompletionStage<java.lang.Object> decorate(io.micronaut.aop.InterceptedMethod interceptedMethod, java.util.function.Supplier<java.util.concurrent.CompletionStage<java.lang.Object>> supplier)Decorate the suppliedCompletionStage.- Parameters:
interceptedMethod- The intercepted methodsupplier- The supplier- Returns:
- decorated stage
-
-