Package org.axonframework.deadline
@NullMarked
package org.axonframework.deadline
Deadline support carried over from Axon Framework 4, to keep deadlines that were scheduled before migrating firing
while a project moves off this API.
-
ClassDescriptionAbstract implementation of the
DeadlineManagerto be implemented by concrete solutions for the DeadlineManager.Translates a firedDeadlineMessagescoped to anAggregateScopeDescriptorinto a command, dispatched through aCommandGateway.AConfigurationEnhancerthat builds the configuration'sAggregateDeadlineCommandTranslator, and registers it with the configuration'sLegacyScopeAwareProvider, the same way a Saga manager registers itself.ConfigurationEnhancerregisteringAggregateDeadlineEntityIdResolverDefinitionas the application-wideEntityIdResolverDefinitiondefault.AnEntityIdResolverDefinitionresolving an entity's identifier from a command's@TargetEntityIdpayload field when present, falling back to theAggregateDeadlineEntityIdResolverDefinition.DESCRIPTOR_BASED_IDmetadata entryAggregateDeadlineCommandTranslatorwrites onto every command it dispatches.Delivers a fired deadline to theScopeAwarecomponents that resolve its scope, inside a unit of work from the configuredUnitOfWorkFactory.Exception which occurs during deadline message processing.Contract for deadline managers.AConfigurationEnhancerthat ties everyDeadlineManagerof the configuration to the application's lifecycle.AConfigurationEnhancerthat makes aDeadlineManagerhandler parameter defer its calls to theProcessingContextof the handler.AnEventMessagefor a deadline, specified by itsdeadlineNameand optionally containing adeadlinePayload.Generic implementation of theDeadlineMessageinterface.Implementation ofDeadlineManagerwhich uses Java'sScheduledExecutorServiceas scheduling and triggering mechanism.Builder class to instantiate aSimpleDeadlineManager.Converts the parts of a deadline that the persistent deadline managers store, its payload, metadata and scope descriptor, to and from their stored form, keeping the layout Axon Framework 4.13 wrote.The payload of a fired deadline whose stored payload type name could not be resolved to a class.