Uses of Class
org.axonframework.common.TypeReference
Packages that use TypeReference
Package
Description
Part of the Axoniq Messaging folder.
Internal implementation of the workflow execution engine: the
WorkflowEngine, its scheduling, state and
storage, checkpointing/replay support, cancellation coordination, and the delegates implementing individual step
primitives.Contains common utility classes needed in different components of the framework.
Component configuration, registry, and lifecycle support.
Deadline support carried over from Axon Framework 4, to keep deadlines that were scheduled before migrating firing
while a project moves off this API.
Classes that implement the concept of command handling using explicit command objects.
Classes related to message processing in Axon Framework.
Package for event handling components in Axon Framework.
Part of the Axon Messaging module.
Package for query handling components in Axon Framework.
-
Uses of TypeReference in io.axoniq.framework.messaging.transformation.events
Methods in io.axoniq.framework.messaging.transformation.events with parameters of type TypeReferenceModifier and TypeMethodDescriptionstatic <T> EventTransformation.SplitStep<T> EventTransformation.split(MessageType source, TypeReference<T> inputType) Generic-type overload ofEventTransformation.split(MessageType, Class).<T,U> EventTransformation EventTransformation.TransformStep.transform(TypeReference<T> inputType, BiFunction<T, @Nullable ProcessingContext, U> payloadMapper) Generic-type overload.<T,U> EventTransformation EventTransformation.TransformStep.transform(TypeReference<T> inputType, Function<T, U> payloadMapper) Context-free variant ofEventTransformation.TransformStep.transform(TypeReference, BiFunction). -
Uses of TypeReference in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api with parameters of type TypeReferenceModifier and TypeMethodDescriptiondefault <T> Optional<T> WorkflowStepResult.resultAs(TypeReference<T> type) Retrieves an optional result as a specific type.default <T> Optional<T> WorkflowStepResult.resultAs(TypeReference<T> type, Converter converter) Retrieves an optional result as a specific type. -
Uses of TypeReference in io.axoniq.framework.workflow.runtime.execution
Fields in io.axoniq.framework.workflow.runtime.execution declared as TypeReferenceModifier and TypeFieldDescriptionstatic final TypeReference<Map<String, @Nullable Object>> EventSourcedWorkflowState.PAYLOAD_TYPEType reference for a map of strings to objects used as workflow payload. -
Uses of TypeReference in org.axonframework.common
Methods in org.axonframework.common that return TypeReferenceModifier and TypeMethodDescriptionstatic <C> TypeReference<C> Constructs aTypeReferencefor the givenclazz.static <C> TypeReference<C> Constructs aTypeReferencefor the giventype.Methods in org.axonframework.common with parameters of type TypeReferenceModifier and TypeMethodDescriptionbooleanTypeReference.isAssignableFrom(TypeReference<?> other) Checks if thisTypeReferenceis assignable from theotherTypeReference. -
Uses of TypeReference in org.axonframework.common.configuration
Methods in org.axonframework.common.configuration that return TypeReferenceModifier and TypeMethodDescriptionComponent.Identifier.type()Returns the value of thetyperecord component.Methods in org.axonframework.common.configuration with parameters of type TypeReferenceModifier and TypeMethodDescriptiondefault <C> CConfiguration.getComponent(TypeReference<C> typeReference) Returns the component declared under the giventypeReferenceor throws aComponentNotFoundExceptionif it does not exist.default <C> CConfiguration.getComponent(TypeReference<C> typeReference, @Nullable String name) Returns the component declared under the giventypeReferenceandnameor throws aComponentNotFoundExceptionif it does not exist.default <C> Optional<C> Configuration.getOptionalComponent(TypeReference<C> typeReference) Returns the component declared under the giventypeReferencewithin anOptional.<C> Optional<C> Configuration.getOptionalComponent(TypeReference<C> typeReference, @Nullable String name) Returns the component declared under the giventypeReferenceandnamewithin anOptional.default booleanConfiguration.hasComponent(TypeReference<?> typeReference) default booleanConfiguration.hasComponent(TypeReference<?> typeReference, @Nullable String name) Check whether there is aComponentpresent in thisConfigurationfor the giventypeReferenceandnamecombination.static <C> ComponentDefinition.IncompleteComponentDefinition<C> ComponentDefinition.ofType(TypeReference<C> type) Starts defining a component with given declaredtype.static <C> ComponentDefinition.IncompleteComponentDefinition<C> ComponentDefinition.ofTypeAndName(TypeReference<C> type, @Nullable String name) Starts defining a component with given declaredtypeandname.Constructors in org.axonframework.common.configuration with parameters of type TypeReferenceModifierConstructorDescriptionComponentNotFoundException(TypeReference<?> typeReference, @Nullable String name) Constructs aComponentNotFoundExceptionwith a default message describing aComponentcouldn't be found for the giventypeReferenceandname.ComponentNotFoundException(TypeReference<?> typeReference, @Nullable String name, @Nullable Throwable cause) Constructs aComponentNotFoundExceptionwith a default message describing aComponentcouldn't be found for the giventypeReferenceandname.Identifier(TypeReference<C> type, @Nullable String name) Compact constructor asserting whether thetypeandnameare non-null and not empty. -
Uses of TypeReference in org.axonframework.deadline
Methods in org.axonframework.deadline with parameters of type TypeReferenceModifier and TypeMethodDescriptiondefault DeadlineMessageDeadlineMessage.withConvertedPayload(TypeReference<?> type, Converter converter) -
Uses of TypeReference in org.axonframework.messaging.commandhandling
Methods in org.axonframework.messaging.commandhandling with parameters of type TypeReferenceModifier and TypeMethodDescriptiondefault CommandMessageCommandMessage.withConvertedPayload(TypeReference<?> type, Converter converter) default CommandResultMessageCommandResultMessage.withConvertedPayload(TypeReference<?> type, Converter converter) -
Uses of TypeReference in org.axonframework.messaging.core
Methods in org.axonframework.messaging.core with parameters of type TypeReferenceModifier and TypeMethodDescription<R> Optional<R> HandlerExecutionException.getDetails(TypeReference<R> type) Returns anOptionalcontaining application-specific details of the exception, converted into the giventypeif necessary, using theConverterattached to this exception (if any).<R> Optional<R> HandlerExecutionException.getDetails(TypeReference<R> type, @Nullable Converter converter) Returns anOptionalcontaining application-specific details of the exception, converted into the giventypeif necessary, using the givenconverter.<T> @Nullable TGenericMessage.payloadAs(TypeReference<T> type) default <T> @Nullable TMessage.payloadAs(TypeReference<T> type) Returns the payload of thisMessagecasted to the given type ifMessage.payloadType()isassignable fromthe giventype, otherwise throws aConversionException.default <T> @Nullable TMessage.payloadAs(TypeReference<T> type, @Nullable Converter converter) Returns the payload of thisMessage, converted to the giventypeby the givenconverter.<T> @Nullable TMessageDecorator.payloadAs(TypeReference<T> type) default MessageMessage.withConvertedPayload(TypeReference<?> type, Converter converter) Returns a newMessageimplementation with itsMessage.payload()converted to the giventypeby the givenconverter.default ResultMessageResultMessage.withConvertedPayload(TypeReference<?> type, Converter converter) -
Uses of TypeReference in org.axonframework.messaging.eventhandling
Methods in org.axonframework.messaging.eventhandling with parameters of type TypeReferenceModifier and TypeMethodDescriptiondefault EventMessageEventMessage.withConvertedPayload(TypeReference<?> type, Converter converter) -
Uses of TypeReference in org.axonframework.messaging.eventhandling.replay
Methods in org.axonframework.messaging.eventhandling.replay with parameters of type TypeReferenceModifier and TypeMethodDescriptiondefault ReplayStatusChangedReplayStatusChanged.withConvertedPayload(TypeReference<?> type, Converter converter) default ResetContextResetContext.withConvertedPayload(TypeReference<?> type, Converter converter) -
Uses of TypeReference in org.axonframework.messaging.queryhandling
Methods in org.axonframework.messaging.queryhandling with parameters of type TypeReferenceModifier and TypeMethodDescriptiondefault QueryMessageQueryMessage.withConvertedPayload(TypeReference<?> type, Converter converter) default QueryResponseMessageQueryResponseMessage.withConvertedPayload(TypeReference<?> type, Converter converter) default SubscriptionQueryUpdateMessageSubscriptionQueryUpdateMessage.withConvertedPayload(TypeReference<?> type, Converter converter)