Uses of Interface
org.axonframework.messaging.core.unitofwork.ProcessingLifecycle
Packages that use ProcessingLifecycle
Package
Description
-
Uses of ProcessingLifecycle in org.axonframework.extension.spring.messaging.unitofwork
Methods in org.axonframework.extension.spring.messaging.unitofwork with parameters of type ProcessingLifecycleModifier and TypeMethodDescriptionvoidSpringTransactionManager.attachToProcessingLifecycle(ProcessingLifecycle processingLifecycle) -
Uses of ProcessingLifecycle in org.axonframework.messaging.core.unitofwork
Subinterfaces of ProcessingLifecycle in org.axonframework.messaging.core.unitofworkModifier and TypeInterfaceDescriptioninterfaceImplementation of theProcessingLifecycleadding mutable resource management operations by implementingContext.Classes in org.axonframework.messaging.core.unitofwork that implement ProcessingLifecycleModifier and TypeClassDescriptionclassDeprecated.Only in use for legacy "sync" components.classAProcessingContextimplementation overriding a single resource from the wrappingProcessingContext.classThis class represents a Unit of Work that monitors the processing of a task.Methods in org.axonframework.messaging.core.unitofwork that return ProcessingLifecycleModifier and TypeMethodDescriptiondefault ProcessingLifecycleProcessingLifecycle.doFinally(Consumer<ProcessingContext> action) Registers the providedactionto be executedon errorof andwhen completingthisProcessingLifecycle.ResourceOverridingProcessingContext.doFinally(Consumer<ProcessingContext> action) LegacyMessageSupportingContext.on(ProcessingLifecycle.Phase phase, Function<ProcessingContext, CompletableFuture<?>> action) Deprecated.ProcessingLifecycle.on(ProcessingLifecycle.Phase phase, Function<ProcessingContext, CompletableFuture<?>> action) Registers the providedactionto be executed in the givenphase.ResourceOverridingProcessingContext.on(ProcessingLifecycle.Phase phase, Function<ProcessingContext, CompletableFuture<?>> action) default ProcessingLifecycleProcessingLifecycle.onAfterCommit(Function<ProcessingContext, CompletableFuture<?>> action) Registers the providedactionto be executed in theafter commit phase.ResourceOverridingProcessingContext.onAfterCommit(Function<ProcessingContext, CompletableFuture<?>> action) default ProcessingLifecycleProcessingLifecycle.onCommit(Function<ProcessingContext, CompletableFuture<?>> action) Registers the providedactionto be executed in thecommit phase.ResourceOverridingProcessingContext.onCommit(Function<ProcessingContext, CompletableFuture<?>> action) LegacyMessageSupportingContext.onError(ProcessingLifecycle.ErrorHandler action) Deprecated.ProcessingLifecycle.onError(ProcessingLifecycle.ErrorHandler action) Registers the providedactionto be executed when thisProcessingLifecycleencounters an error during the action of anyProcessingLifecycle.Phase.ResourceOverridingProcessingContext.onError(ProcessingLifecycle.ErrorHandler action) UnitOfWork.onError(ProcessingLifecycle.ErrorHandler action) default ProcessingLifecycleProcessingLifecycle.onInvocation(Function<ProcessingContext, CompletableFuture<?>> action) Registers the providedactionto be executed in theinvocation phase.ResourceOverridingProcessingContext.onInvocation(Function<ProcessingContext, CompletableFuture<?>> action) default ProcessingLifecycleProcessingLifecycle.onPostInvocation(Function<ProcessingContext, CompletableFuture<?>> action) Registers the providedactionto be executed in thepost invocation phase.ResourceOverridingProcessingContext.onPostInvocation(Function<ProcessingContext, CompletableFuture<?>> action) default ProcessingLifecycleProcessingLifecycle.onPreInvocation(Function<ProcessingContext, CompletableFuture<?>> action) Registers the providedactionto be executed in thepre-invocation phase.ResourceOverridingProcessingContext.onPreInvocation(Function<ProcessingContext, CompletableFuture<?>> action) default ProcessingLifecycleProcessingLifecycle.onPrepareCommit(Function<ProcessingContext, CompletableFuture<?>> action) Registers the providedactionto be executed in theprepare commit phase.ResourceOverridingProcessingContext.onPrepareCommit(Function<ProcessingContext, CompletableFuture<?>> action) default ProcessingLifecycleProcessingLifecycle.runOn(ProcessingLifecycle.Phase phase, Consumer<ProcessingContext> action) Registers the providedactionto be executed in the givenphase.ResourceOverridingProcessingContext.runOn(ProcessingLifecycle.Phase phase, Consumer<ProcessingContext> action) default ProcessingLifecycleProcessingLifecycle.runOnAfterCommit(Consumer<ProcessingContext> action) Registers the providedactionto be executed in theafter commit phase.ResourceOverridingProcessingContext.runOnAfterCommit(Consumer<ProcessingContext> action) default ProcessingLifecycleProcessingLifecycle.runOnCommit(Consumer<ProcessingContext> action) Registers the providedactionto be executed in thecommit phase.ResourceOverridingProcessingContext.runOnCommit(Consumer<ProcessingContext> action) default ProcessingLifecycleProcessingLifecycle.runOnInvocation(Consumer<ProcessingContext> action) Registers the providedactionto be executed in theinvocation phase.ResourceOverridingProcessingContext.runOnInvocation(Consumer<ProcessingContext> action) default ProcessingLifecycleProcessingLifecycle.runOnPostInvocation(Consumer<ProcessingContext> action) Registers the providedactionto be executed in thepost invocation phase.ResourceOverridingProcessingContext.runOnPostInvocation(Consumer<ProcessingContext> action) default ProcessingLifecycleProcessingLifecycle.runOnPreInvocation(Consumer<ProcessingContext> action) Registers the providedactionto be executed in thepre-invocation phase.ResourceOverridingProcessingContext.runOnPreInvocation(Consumer<ProcessingContext> action) default ProcessingLifecycleProcessingLifecycle.runOnPrepareCommit(Consumer<ProcessingContext> action) Registers the providedactionto be executed in theprepare commit phase.ResourceOverridingProcessingContext.runOnPrepareCommit(Consumer<ProcessingContext> action) LegacyMessageSupportingContext.whenComplete(Consumer<ProcessingContext> action) Deprecated.ProcessingLifecycle.whenComplete(Consumer<ProcessingContext> action) Registers the providedactionto be executed when thisProcessingLifecyclecompletes all registered actions.ResourceOverridingProcessingContext.whenComplete(Consumer<ProcessingContext> action) UnitOfWork.whenComplete(Consumer<ProcessingContext> action) -
Uses of ProcessingLifecycle in org.axonframework.messaging.core.unitofwork.transaction
Methods in org.axonframework.messaging.core.unitofwork.transaction with parameters of type ProcessingLifecycleModifier and TypeMethodDescriptiondefault voidTransactionManager.attachToProcessingLifecycle(ProcessingLifecycle processingLifecycle)