Uses of Class
org.axonframework.common.TypeReference
Packages that use TypeReference
Package
Description
Contains common utility classes needed in different components of the framework.
Classes that implement the concept of command handling using explicit command objects.
Classes related to message processing in Axon Framework.
Classes related to event handling and dispatching, such as
and the
invalid reference
Event Listeners
Event Bus.-
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. -
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 TypeMethodDescriptionstatic <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, String name) Starts defining a component with given declaredtypeandname.Constructors in org.axonframework.common.configuration with parameters of type TypeReferenceModifierConstructorDescriptionIdentifier(TypeReference<C> type, String name) Compact constructor asserting whether thetypeandnameare non-null and not empty. -
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 TypeMethodDescriptiondefault <T> TMessage.payloadAs(TypeReference<T> type) Returns the payload of thisMessagecasted to the given type ifMessage.payloadType()isassignable fromthe giventype, otherwise throws aConversionException.default <T> TMessage.payloadAs(TypeReference<T> type, Converter converter) Returns the payload of thisMessage, converted to the giventypeby the givenconverter.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 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)