Uses of Interface
org.axonframework.serialization.Serializer
Packages that use Serializer
Package
Description
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus.Classes related to event sourcing.
Definitions and implementations of the Event store, the mechanism that can load event streams and append events to
them.
JDBC Implementation of the EventStore.
JPA Implementation of the EventStore.
Classes related to message processing in Axon Framework.
Classes related to message processing in Axon Framework.
-
Uses of Serializer in org.axonframework.axonserver.connector.command
Methods in org.axonframework.axonserver.connector.command with parameters of type SerializerModifier and TypeMethodDescriptionAxonServerCommandBus.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serialize incoming and outgoing commands and command results.Constructors in org.axonframework.axonserver.connector.command with parameters of type SerializerModifierConstructorDescriptionCommandSerializer(Serializer serializer, AxonServerConfiguration configuration) Instantiate a serializer used to convert AxonCommandMessages andCommandResultMessages into Axon Server gRPC messages and vice versa.GrpcBackedCommandMessage(io.axoniq.axonserver.grpc.command.Command command, Serializer serializer) Instantiate aGrpcBackedCommandMessagewith the givencommandand using the providedSerializerto be able to retrieve the payload andMetaDatafrom it. -
Uses of Serializer in org.axonframework.axonserver.connector.event.axon
Classes in org.axonframework.axonserver.connector.event.axon that implement SerializerModifier and TypeClassDescriptionfinal classWrapper around standard Axon Framework serializer that can deserialize Metadata from AxonServer events.Methods in org.axonframework.axonserver.connector.event.axon with parameters of type SerializerModifier and TypeMethodDescriptionAxonServerEventScheduler.Builder.eventSerializer(Serializer eventSerializer) Sets theSerializerused to de-/serialize events.AxonServerEventStore.Builder.eventSerializer(Serializer eventSerializer) Sets theSerializerused to serialize and deserialize the Event Message's payload and Meta Data with.AxonServerEventStoreFactory.Builder.eventSerializer(Serializer eventSerializer) AxonServerEventStore.Builder.snapshotSerializer(Serializer snapshotSerializer) Sets theSerializerused to serialize and deserialize snapshots.AxonServerEventStoreFactory.Builder.snapshotSerializer(Serializer snapshotSerializer) Sets theSerializerused to serialize and deserialize snapshots.Constructors in org.axonframework.axonserver.connector.event.axon with parameters of type SerializerModifierConstructorDescriptionEventBuffer(io.axoniq.axonserver.connector.event.EventStream delegate, EventUpcaster upcasterChain, Serializer serializer, boolean disableIgnoredEventFiltering) Initializes an Event Buffer, passing messages through givenupcasterChainand deserializing events using givenserializer.GrpcMetaDataAwareSerializer(Serializer delegate) Constructs aGrpcMetaDataAwareSerializer, using the givendelegateto delegate serialization to -
Uses of Serializer in org.axonframework.axonserver.connector.query
Methods in org.axonframework.axonserver.connector.query with parameters of type SerializerModifier and TypeMethodDescriptionAxonServerQueryBus.Builder.genericSerializer(Serializer genericSerializer) Sets the genericSerializerused to de-/serialize incoming and outgoing queryResponseTypeimplementations.AxonServerQueryBus.Builder.messageSerializer(Serializer messageSerializer) Sets the messageSerializerused to de-/serialize incoming and outgoing queries and query responses.Constructors in org.axonframework.axonserver.connector.query with parameters of type SerializerModifierConstructorDescriptionGrpcBackedQueryMessage(io.axoniq.axonserver.grpc.query.QueryRequest queryRequest, Serializer messageSerializer, Serializer serializer) Instantiate aGrpcBackedResponseMessagewith the givenqueryRequest, using the providedmessageSerializerto be able to retrieve the payload andMetaDatafrom it.GrpcBackedResponseMessage(io.axoniq.axonserver.grpc.query.QueryResponse queryResponse, Serializer serializer) Instantiate aGrpcBackedResponseMessagewith the givenqueryResponse, using the providedSerializerto be able to retrieve the payload andMetaDatafrom it.QuerySerializer(Serializer messageSerializer, Serializer serializer, AxonServerConfiguration configuration) Instantiate a serializer used to convert AxonQueryMessages andQueryResponseMessages into Axon Server gRPC messages and vice versa. -
Uses of Serializer in org.axonframework.axonserver.connector.query.subscription
Constructors in org.axonframework.axonserver.connector.query.subscription with parameters of type SerializerModifierConstructorDescriptionGrpcBackedSubscriptionQueryMessage(io.axoniq.axonserver.grpc.query.SubscriptionQuery subscriptionQuery, Serializer messageSerializer, Serializer serializer) Instantiate aGrpcBackedSubscriptionQueryMessagewith the givensubscriptionQuery, using the providedmessageSerializerto be able to retrieve the payload andMetaDatafrom it.SubscriptionMessageSerializer(Serializer messageSerializer, Serializer serializer, AxonServerConfiguration configuration) Instantiate a serializer used to convert AxonSubscriptionQueryMessages, the initialQueryResponseMessageand the subsequentSubscriptionQueryUpdateMessages into Axon Server gRPC messages and vice versa. -
Uses of Serializer in org.axonframework.axonserver.connector.util
Constructors in org.axonframework.axonserver.connector.util with parameters of type SerializerModifierConstructorDescriptionGrpcMetaData(Map<String, io.axoniq.axonserver.grpc.MetaDataValue> metaDataValues, Serializer serializer) Instantiate a wrapper around the givenmetaDataValuesproviding access to them as aMetaDataobject.GrpcMetaDataConverter(Serializer serializer) Initialize the converter, using the givenserializerto serialize Objects.GrpcObjectSerializer(Serializer serializer) Constructs aGrpcObjectSerializerusing the givenserializerto serialize the payload and type of given objects with.GrpcPayloadSerializer(Serializer serializer) Constructs aGrpcPayloadSerializerusing the givenserializerto serialize messages with -
Uses of Serializer in org.axonframework.commandhandling.distributed
Methods in org.axonframework.commandhandling.distributed with parameters of type SerializerModifier and TypeMethodDescriptionDispatchMessage.getCommandMessage(Serializer serializer) Returns the CommandMessage wrapped in this Message.ReplyMessage.getCommandResultMessage(Serializer serializer) Returns aCommandResultMessagecontaining the result of command processing.Constructors in org.axonframework.commandhandling.distributed with parameters of type SerializerModifierConstructorDescriptionprotectedDispatchMessage(CommandMessage<?> commandMessage, Serializer serializer, boolean expectReply) Initialized a DispatchMessage for the givencommandMessage, which uses the givenserializerto deserialize its contents.ReplyMessage(String commandIdentifier, CommandResultMessage<?> commandResultMessage, Serializer serializer) Initializes a ReplyMessage containing a reply to the command with given {commandIdentifier} and givencommandResultMessage. -
Uses of Serializer in org.axonframework.config
Methods in org.axonframework.config that return SerializerModifier and TypeMethodDescriptionprotected SerializerDefaultConfigurer.defaultSerializer(Configuration config) Provides the default Serializer implementation.Configuration.eventSerializer()Returns theSerializerdefined in this Configuration to be used for serializing Event Message payload and their metadata.Configuration.messageSerializer()Returns theSerializerdefined in this Configuration to be used for serializing Message payloads and metadata.default SerializerConfiguration.serializer()Returns the serializer defined in this ConfigurationMethod parameters in org.axonframework.config with type arguments of type SerializerModifier and TypeMethodDescriptionConfigurer.configureEventSerializer(Function<Configuration, Serializer> eventSerializerBuilder) Configures the given event Serializer to use in this configuration.DefaultConfigurer.configureEventSerializer(Function<Configuration, Serializer> eventSerializerBuilder) Configurer.configureMessageSerializer(Function<Configuration, Serializer> messageSerializerBuilder) Configures the given event Serializer to use in this configuration.DefaultConfigurer.configureMessageSerializer(Function<Configuration, Serializer> messageSerializerBuilder) default ConfigurerConfigurer.configureSerializer(Function<Configuration, Serializer> serializerBuilder) Configures the given Serializer to use in this configuration. -
Uses of Serializer in org.axonframework.deadline.dbscheduler
Methods in org.axonframework.deadline.dbscheduler with parameters of type SerializerModifier and TypeMethodDescriptionDbSchedulerBinaryDeadlineDetails.asDeadLineMessage(Serializer serializer) Returns theDbSchedulerBinaryDeadlineDetailsas anGenericDeadlineMessage, with the timestamp set using theGenericEventMessage.clock.DbSchedulerHumanReadableDeadlineDetails.asDeadLineMessage(Serializer serializer) Returns theDbSchedulerHumanReadableDeadlineDetailsas anGenericDeadlineMessage, with the timestamp set using theGenericEventMessage.clock.DbSchedulerBinaryDeadlineDetails.getDeserializedScopeDescriptor(Serializer serializer) Returns the serializedScopeDescriptorusing the suppliedSerializer.DbSchedulerHumanReadableDeadlineDetails.getDeserializedScopeDescriptor(Serializer serializer) Returns the serializedScopeDescriptorusing the suppliedSerializer.DbSchedulerDeadlineManager.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serialize thepayload,MetaDataand theScopeDescriptorinto theDeadlineDetailsas well as the wholeDeadlineDetailsitself. -
Uses of Serializer in org.axonframework.deadline.jobrunr
Methods in org.axonframework.deadline.jobrunr with parameters of type SerializerModifier and TypeMethodDescriptionDeadlineDetails.asDeadLineMessage(Serializer serializer) Returns theDeadlineDetailsas anGenericDeadlineMessage, with the timestamp set using theGenericEventMessage.clockto set to the current time.static StringLabelUtils.getCombinedLabel(Serializer serializer, String deadlineName, ScopeDescriptor scope) Creates a label from a scope and a deadlineName, by using the serializer.DeadlineDetails.getDeserializedScopeDescriptor(Serializer serializer) Returns the serializedScopeDescriptorusing the suppliedSerializer.JobRunrDeadlineManager.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serialize thepayload,MetaDataand theScopeDescriptorinto theDeadlineDetailsas well as the wholeDeadlineDetailsitself. -
Uses of Serializer in org.axonframework.deadline.quartz
Methods in org.axonframework.deadline.quartz with parameters of type SerializerModifier and TypeMethodDescriptionstatic DeadlineMessageDeadlineJob.DeadlineJobDataBinder.deadlineMessage(Serializer serializer, org.quartz.JobDataMap jobDataMap) Extracts aDeadlineMessagefrom providedjobDataMap.static ScopeDescriptorDeadlineJob.DeadlineJobDataBinder.deadlineScope(Serializer serializer, org.quartz.JobDataMap jobDataMap) QuartzDeadlineManager.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serialize theDeadlineMessageand theScopeDescriptorinto theJobDataMap.static org.quartz.JobDataMapDeadlineJob.DeadlineJobDataBinder.toJobData(Serializer serializer, DeadlineMessage deadlineMessage, ScopeDescriptor deadlineScope) Serializes the provideddeadlineMessageanddeadlineScopeand puts them in aJobDataMap. -
Uses of Serializer in org.axonframework.eventhandling
Methods in org.axonframework.eventhandling with parameters of type SerializerModifier and TypeMethodDescriptionstatic Stream<TrackedEventMessage<?>> EventUtils.upcastAndDeserializeTrackedEvents(Stream<? extends TrackedEventData<?>> eventEntryStream, Serializer serializer, EventUpcaster upcasterChain) Upcasts and deserializes the giveneventEntryStreamusing the givenserializerandupcasterChain.Constructors in org.axonframework.eventhandling with parameters of type SerializerModifierConstructorDescriptionAbstractDomainEventEntry(DomainEventMessage<?> eventMessage, Serializer serializer, Class<T> contentType) Construct a new event entry from a published domain event message to enable storing the event or sending it to a remote location.AbstractEventEntry(EventMessage<?> eventMessage, Serializer serializer, Class<T> contentType) Construct a new event entry from a published event message to enable storing the event or sending it to a remote location.AbstractSequencedDomainEventEntry(DomainEventMessage<?> eventMessage, Serializer serializer, Class<T> contentType) Construct a new default domain event entry from a published domain event message to enable storing the event or sending it to a remote location. -
Uses of Serializer in org.axonframework.eventhandling.deadletter.jdbc
Methods in org.axonframework.eventhandling.deadletter.jdbc with parameters of type SerializerModifier and TypeMethodDescriptionDefaultDeadLetterJdbcConverter.Builder.eventSerializer(Serializer eventSerializer) DefaultDeadLetterStatementFactory.Builder.eventSerializer(Serializer eventSerializer) Sets theSerializerto serialize theevent payload,MetaData, anddiagnosticsof theDeadLetterwhen storing it to a database.JdbcSequencedDeadLetterQueue.Builder.eventSerializer(Serializer eventSerializer) Sets theSerializerto (de)serialize the events, metadata and diagnostics of theDeadLetterwhen storing it to a database.DefaultDeadLetterJdbcConverter.Builder.genericSerializer(Serializer genericSerializer) DefaultDeadLetterStatementFactory.Builder.genericSerializer(Serializer genericSerializer) Sets theSerializerto serialize theTrackingTokenof aTrackedEventMessageinstance in theDeadLetterwhen storing it to the database.JdbcSequencedDeadLetterQueue.Builder.genericSerializer(Serializer genericSerializer) Sets theSerializerto (de)serialize theTrackingToken(if present) of the event in theDeadLetterwhen storing it to the database. -
Uses of Serializer in org.axonframework.eventhandling.deadletter.jpa
Methods in org.axonframework.eventhandling.deadletter.jpa with parameters of type SerializerModifier and TypeMethodDescriptionDeadLetterJpaConverter.convert(M message, Serializer eventSerializer, Serializer genericSerializer) Converts anEventMessageimplementation to aDeadLetterEventEntry.DeadLetterJpaConverter.convert(DeadLetterEventEntry entry, Serializer eventSerializer, Serializer genericSerializer) Converts aDeadLetterEventEntryto aEventMessageimplementation.EventMessage<?> EventMessageDeadLetterJpaConverter.convert(DeadLetterEventEntry entry, Serializer eventSerializer, Serializer genericSerializer) EventMessageDeadLetterJpaConverter.convert(EventMessage<?> message, Serializer eventSerializer, Serializer genericSerializer) JpaSequencedDeadLetterQueue.Builder.eventSerializer(Serializer serializer) Sets theSerializerto (de)serialize the event payload, event metadata, and diagnostics of theDeadLetterwhen storing it to the database.JpaSequencedDeadLetterQueue.Builder.genericSerializer(Serializer serializer) Sets theSerializerto (de)serialize the tracking token of the event in theDeadLetterwhen storing it to the database.JpaSequencedDeadLetterQueue.Builder.serializer(Serializer serializer) Sets theSerializerto (de)serialize the event payload, event metadata, tracking token, and diagnostics of theDeadLetterwhen storing it to the database.voidDeadLetterEntry.setDiagnostics(MetaData diagnostics, Serializer serializer) Sets the diagnostics, taking in aSerializerto serialize if to the correct format.Constructors in org.axonframework.eventhandling.deadletter.jpa with parameters of type SerializerModifierConstructorDescriptionDeadLetterEntry(String processingGroup, String sequenceIdentifier, long sequenceIndex, DeadLetterEventEntry message, Instant enqueuedAt, Instant lastTouched, Cause cause, MetaData diagnostics, Serializer serializer) Creates a newDeadLetterEntryconsisting of the given parameters. -
Uses of Serializer in org.axonframework.eventhandling.deadletter.legacyjpa
Methods in org.axonframework.eventhandling.deadletter.legacyjpa with parameters of type SerializerModifier and TypeMethodDescriptionDeadLetterJpaConverter.convert(M message, Serializer eventSerializer, Serializer genericSerializer) Deprecated.Converts anEventMessageimplementation to aDeadLetterEventEntry.DeadLetterJpaConverter.convert(DeadLetterEventEntry entry, Serializer eventSerializer, Serializer genericSerializer) Deprecated.Converts aDeadLetterEventEntryto aEventMessageimplementation.EventMessage<?> EventMessageDeadLetterJpaConverter.convert(DeadLetterEventEntry entry, Serializer eventSerializer, Serializer genericSerializer) Deprecated.EventMessageDeadLetterJpaConverter.convert(EventMessage<?> message, Serializer eventSerializer, Serializer genericSerializer) Deprecated.JpaSequencedDeadLetterQueue.Builder.eventSerializer(Serializer serializer) Sets theSerializerto (de)serialize the event payload, event metadata, and diagnostics of theDeadLetterwhen storing it to the database.JpaSequencedDeadLetterQueue.Builder.genericSerializer(Serializer serializer) Sets theSerializerto (de)serialize the tracking token of the event in theDeadLetterwhen storing it to the database.JpaSequencedDeadLetterQueue.Builder.serializer(Serializer serializer) Sets theSerializerto deserialize the events, metadata and diagnostics of theDeadLetterwhen storing it to a database. -
Uses of Serializer in org.axonframework.eventhandling.scheduling.dbscheduler
Methods in org.axonframework.eventhandling.scheduling.dbscheduler with parameters of type SerializerModifier and TypeMethodDescriptionDbSchedulerEventScheduler.Builder.serializer(Serializer serializer) -
Uses of Serializer in org.axonframework.eventhandling.scheduling.jobrunr
Methods in org.axonframework.eventhandling.scheduling.jobrunr with parameters of type SerializerModifier and TypeMethodDescriptionJobRunrEventScheduler.Builder.serializer(Serializer serializer) -
Uses of Serializer in org.axonframework.eventhandling.scheduling.quartz
Methods in org.axonframework.eventhandling.scheduling.quartz with parameters of type SerializerModifier and TypeMethodDescriptionQuartzEventScheduler.Builder.serializer(Serializer serializer) Sets theSerializerused by theEventJobDataBinder.Constructors in org.axonframework.eventhandling.scheduling.quartz with parameters of type SerializerModifierConstructorDescriptionDirectEventJobDataBinder(Serializer serializer) Instantiate aQuartzEventScheduler.DirectEventJobDataBinderwith the providedSerializerfor de-/serializing event messages. -
Uses of Serializer in org.axonframework.eventhandling.tokenstore
Methods in org.axonframework.eventhandling.tokenstore with parameters of type SerializerModifier and TypeMethodDescriptionAbstractTokenEntry.getToken(Serializer serializer) Returns the token, deserializing it with givenserializerabstract voidAbstractTokenEntry.updateToken(TrackingToken token, Serializer serializer) Update this entry with the giventoken, serializing it using givenserializer.protected final voidAbstractTokenEntry.updateToken(TrackingToken token, Serializer serializer, Class<T> contentType) Update the token data to the giventoken, using givenserializerto serialize it to the givencontentType.voidGenericTokenEntry.updateToken(TrackingToken token, Serializer serializer) Constructors in org.axonframework.eventhandling.tokenstore with parameters of type SerializerModifierConstructorDescriptionprotectedAbstractTokenEntry(TrackingToken token, Serializer serializer, Class<T> contentType) Initializes a new token entry for giventoken,processandsegment.GenericTokenEntry(TrackingToken token, Serializer serializer, Class<T> contentType, String processorName, int segment) Initializes a new token entry for giventoken,processandsegment. -
Uses of Serializer in org.axonframework.eventhandling.tokenstore.jdbc
Methods in org.axonframework.eventhandling.tokenstore.jdbc that return SerializerModifier and TypeMethodDescriptionJdbcTokenStore.serializer()Returns the serializer used by the Token Store to serialize tokens.Methods in org.axonframework.eventhandling.tokenstore.jdbc with parameters of type SerializerModifier and TypeMethodDescriptionJdbcTokenStore.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serializeTrackingTokens with. -
Uses of Serializer in org.axonframework.eventhandling.tokenstore.jpa
Methods in org.axonframework.eventhandling.tokenstore.jpa that return SerializerModifier and TypeMethodDescriptionJpaTokenStore.serializer()Returns the serializer used by the Token Store to serialize tokens.Methods in org.axonframework.eventhandling.tokenstore.jpa with parameters of type SerializerModifier and TypeMethodDescriptionTokenEntry.getToken(Serializer serializer) Returns the token, deserializing it with givenserializerJpaTokenStore.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serializeTrackingTokens with.voidTokenEntry.updateToken(TrackingToken token, Serializer serializer) Updates a token, using the provided token and serializer to update the serialized token and token type.Constructors in org.axonframework.eventhandling.tokenstore.jpa with parameters of type SerializerModifierConstructorDescriptionTokenEntry(String processorName, int segment, TrackingToken token, Serializer serializer) Initializes a new token entry for giventoken,processorNameandsegment. -
Uses of Serializer in org.axonframework.eventhandling.tokenstore.legacyjpa
Methods in org.axonframework.eventhandling.tokenstore.legacyjpa that return SerializerModifier and TypeMethodDescriptionJpaTokenStore.serializer()Deprecated.Returns the serializer used by the Token Store to serialize tokens.Methods in org.axonframework.eventhandling.tokenstore.legacyjpa with parameters of type SerializerModifier and TypeMethodDescriptionJpaTokenStore.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serializeTrackingTokens with. -
Uses of Serializer in org.axonframework.eventsourcing
Methods in org.axonframework.eventsourcing with parameters of type SerializerModifier and TypeMethodDescriptionstatic DomainEventStreamEventStreamUtils.upcastAndDeserializeDomainEvents(Stream<? extends DomainEventData<?>> eventEntryStream, Serializer serializer, EventUpcaster upcasterChain) Upcasts and deserializes the giveneventEntryStreamusing the givenserializerandupcasterChain. -
Uses of Serializer in org.axonframework.eventsourcing.eventstore
Methods in org.axonframework.eventsourcing.eventstore that return SerializerModifier and TypeMethodDescriptionAbstractEventStorageEngine.getEventSerializer()Get the serializer used by this storage engine when storing and retrieving events.AbstractEventStorageEngine.getSnapshotSerializer()Get the serializer used by this storage engine when storing and retrieving snapshots.Methods in org.axonframework.eventsourcing.eventstore with parameters of type SerializerModifier and TypeMethodDescriptionprotected abstract voidAbstractEventStorageEngine.appendEvents(List<? extends EventMessage<?>> events, Serializer serializer) Append giveneventsto the backing database.AbstractEventStorageEngine.Builder.eventSerializer(Serializer eventSerializer) Sets theSerializerused to serialize and deserialize the Event Message's payload andMetaDatawith.BatchingEventStorageEngine.Builder.eventSerializer(Serializer eventSerializer) AbstractEventStorageEngine.Builder.snapshotSerializer(Serializer snapshotSerializer) Sets theSerializerused to serialize and deserialize snapshots.BatchingEventStorageEngine.Builder.snapshotSerializer(Serializer snapshotSerializer) protected abstract voidAbstractEventStorageEngine.storeSnapshot(DomainEventMessage<?> snapshot, Serializer serializer) Store the givensnapshotof an Aggregate.Constructors in org.axonframework.eventsourcing.eventstore with parameters of type SerializerModifierConstructorDescriptionAbstractSnapshotEventEntry(DomainEventMessage<?> eventMessage, Serializer serializer, Class<T> contentType) Construct a new event entry from a published domain event message to enable storing the event or sending it to a remote location.EqualRevisionPredicate(RevisionResolver resolver, Serializer serializer) Initializes the Predicate with givenresolverto resolve revision of the class represented by the serialized data. -
Uses of Serializer in org.axonframework.eventsourcing.eventstore.jdbc
Methods in org.axonframework.eventsourcing.eventstore.jdbc with parameters of type SerializerModifier and TypeMethodDescriptionprotected PreparedStatementJdbcEventStorageEngine.appendEvents(Connection connection, List<? extends EventMessage<?>> events, Serializer serializer) Creates a statement to be used atJdbcEventStorageEngine.appendEvents(List, Serializer).protected voidJdbcEventStorageEngine.appendEvents(List<? extends EventMessage<?>> events, Serializer serializer) protected PreparedStatementJdbcEventStorageEngine.appendSnapshot(Connection connection, DomainEventMessage<?> snapshot, Serializer serializer) Creates a statement to be used atAbstractEventStorageEngine.storeSnapshot(DomainEventMessage).JdbcEventStorageEngine.Builder.eventSerializer(Serializer eventSerializer) JdbcEventStorageEngine.Builder.snapshotSerializer(Serializer snapshotSerializer) protected voidJdbcEventStorageEngine.storeSnapshot(DomainEventMessage<?> snapshot, Serializer serializer) -
Uses of Serializer in org.axonframework.eventsourcing.eventstore.jdbc.statements
Methods in org.axonframework.eventsourcing.eventstore.jdbc.statements with parameters of type SerializerModifier and TypeMethodDescriptionstatic PreparedStatementJdbcEventStorageEngineStatements.appendEvents(Connection connection, EventSchema schema, Class<?> dataType, List<? extends EventMessage<?>> events, Serializer serializer, TimestampWriter timestampWriter) Set the PreparedStatement to be used onJdbcEventStorageEngine.appendEvents(List, Serializer).static PreparedStatementJdbcEventStorageEngineStatements.appendSnapshot(Connection connection, EventSchema schema, Class<?> dataType, DomainEventMessage<?> snapshot, Serializer serializer, TimestampWriter timestampWriter) Set the PreparedStatement to be used onJdbcEventStorageEngine.storeSnapshot(DomainEventMessage, Serializer).AppendEventsStatementBuilder.build(Connection connection, EventSchema schema, Class<?> dataType, List<? extends EventMessage<?>> events, Serializer serializer, TimestampWriter timestampWriter) Build a statement to be used atJdbcEventStorageEngine.appendEvents(List, Serializer)AppendSnapshotStatementBuilder.build(Connection connection, EventSchema schema, Class<?> dataType, DomainEventMessage<?> snapshot, Serializer serializer, TimestampWriter timestampWriter) Creates a statement to be used atJdbcEventStorageEngine.storeSnapshot(DomainEventMessage, Serializer) -
Uses of Serializer in org.axonframework.eventsourcing.eventstore.jpa
Methods in org.axonframework.eventsourcing.eventstore.jpa with parameters of type SerializerModifier and TypeMethodDescriptionprotected voidJpaEventStorageEngine.appendEvents(List<? extends EventMessage<?>> events, Serializer serializer) protected ObjectJpaEventStorageEngine.createEventEntity(EventMessage<?> eventMessage, Serializer serializer) Returns a Jpa event entity for giveneventMessage.protected ObjectJpaEventStorageEngine.createSnapshotEntity(DomainEventMessage<?> snapshot, Serializer serializer) Returns a Jpa snapshot entity for givensnapshotof an aggregate.JpaEventStorageEngine.Builder.eventSerializer(Serializer eventSerializer) JpaEventStorageEngine.Builder.snapshotSerializer(Serializer snapshotSerializer) protected voidJpaEventStorageEngine.storeSnapshot(DomainEventMessage<?> snapshot, Serializer serializer) Constructors in org.axonframework.eventsourcing.eventstore.jpa with parameters of type SerializerModifierConstructorDescriptionDomainEventEntry(DomainEventMessage<?> eventMessage, Serializer serializer) Construct a new default domain event entry from a published domain event message to enable storing the event or sending it to a remote location.SnapshotEventEntry(DomainEventMessage<?> eventMessage, Serializer serializer) Construct a new default snapshot event entry from an aggregate. -
Uses of Serializer in org.axonframework.eventsourcing.eventstore.legacyjpa
Methods in org.axonframework.eventsourcing.eventstore.legacyjpa with parameters of type SerializerModifier and TypeMethodDescriptionprotected voidJpaEventStorageEngine.appendEvents(List<? extends EventMessage<?>> events, Serializer serializer) Deprecated.protected ObjectJpaEventStorageEngine.createEventEntity(EventMessage<?> eventMessage, Serializer serializer) Deprecated.Returns a Jpa event entity for giveneventMessage.protected ObjectJpaEventStorageEngine.createSnapshotEntity(DomainEventMessage<?> snapshot, Serializer serializer) Deprecated.Returns a Jpa snapshot entity for givensnapshotof an aggregate.JpaEventStorageEngine.Builder.eventSerializer(Serializer eventSerializer) JpaEventStorageEngine.Builder.snapshotSerializer(Serializer snapshotSerializer) protected voidJpaEventStorageEngine.storeSnapshot(DomainEventMessage<?> snapshot, Serializer serializer) Deprecated. -
Uses of Serializer in org.axonframework.messaging
Methods in org.axonframework.messaging with parameters of type SerializerModifier and TypeMethodDescriptiondefault <T> SerializedObject<T> ResultMessage.serializeExceptionResult(Serializer serializer, Class<T> expectedRepresentation) Serializes the exception result.<R> SerializedObject<R> GenericMessage.serializeMetaData(Serializer serializer, Class<R> expectedRepresentation) default <R> SerializedObject<R> Message.serializeMetaData(Serializer serializer, Class<R> expectedRepresentation) Serialize the meta data of this message to theexpectedRepresentationusing givenserializer.<S> SerializedObject<S> MessageDecorator.serializeMetaData(Serializer serializer, Class<S> expectedRepresentation) <R> SerializedObject<R> GenericMessage.serializePayload(Serializer serializer, Class<R> expectedRepresentation) <S> SerializedObject<S> GenericResultMessage.serializePayload(Serializer serializer, Class<S> expectedRepresentation) default <R> SerializedObject<R> Message.serializePayload(Serializer serializer, Class<R> expectedRepresentation) Serialize the payload of this message to theexpectedRepresentationusing givenserializer.<S> SerializedObject<S> MessageDecorator.serializePayload(Serializer serializer, Class<S> expectedRepresentation) default <S> SerializedObject<S> ResultMessage.serializePayload(Serializer serializer, Class<S> expectedRepresentation) -
Uses of Serializer in org.axonframework.messaging.responsetypes
Methods in org.axonframework.messaging.responsetypes with parameters of type SerializerModifier and TypeMethodDescription<T> SerializedObject<T> ConvertingResponseMessage.serializeExceptionResult(Serializer serializer, Class<T> expectedRepresentation) <R1> SerializedObject<R1> ConvertingResponseMessage.serializeMetaData(Serializer serializer, Class<R1> expectedRepresentation) <S> SerializedObject<S> ConvertingResponseMessage.serializePayload(Serializer serializer, Class<S> expectedRepresentation) -
Uses of Serializer in org.axonframework.modelling.saga.repository.jdbc
Methods in org.axonframework.modelling.saga.repository.jdbc with parameters of type SerializerModifier and TypeMethodDescriptionJdbcSagaStore.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serialize a Saga instance.voidJdbcSagaStore.setSerializer(Serializer serializer) Sets the Serializer instance to serialize Sagas with. -
Uses of Serializer in org.axonframework.modelling.saga.repository.jpa
Methods in org.axonframework.modelling.saga.repository.jpa with parameters of type SerializerModifier and TypeMethodDescriptionprotected SagaEntry<?> JpaSagaStore.createSagaEntry(Object saga, String sagaIdentifier, Serializer serializer) Intended for clients to override.JpaSagaStore.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serialize a Saga instance.Constructors in org.axonframework.modelling.saga.repository.jpa with parameters of type SerializerModifierConstructorDescriptionAbstractSagaEntry(Object saga, String sagaIdentifier, Serializer serializer, Class<T> contentType) Deprecated.Constructs a new SagaEntry for the givensaga.SagaEntry(T saga, String sagaIdentifier, Serializer serializer) Constructs a new SagaEntry for the givensaga. -
Uses of Serializer in org.axonframework.modelling.saga.repository.legacyjpa
Methods in org.axonframework.modelling.saga.repository.legacyjpa with parameters of type SerializerModifier and TypeMethodDescriptionprotected SagaEntry<?> JpaSagaStore.createSagaEntry(Object saga, String sagaIdentifier, Serializer serializer) Deprecated.Intended for clients to override.JpaSagaStore.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serialize a Saga instance. -
Uses of Serializer in org.axonframework.serialization
Classes in org.axonframework.serialization that implement SerializerModifier and TypeClassDescriptionclassAbstract implementation for XStream based serializers.classDeprecated.Methods in org.axonframework.serialization that return SerializerModifier and TypeMethodDescriptionLazyDeserializingObject.getSerializer()Returns the serializer to deserialize this objectMethods in org.axonframework.serialization with parameters of type SerializerModifier and TypeMethodDescription<R> SerializedObject<R> SerializedMessage.serializeMetaData(Serializer serializer, Class<R> expectedRepresentation) <T> SerializedObject<T> SerializedObjectHolder.serializeMetaData(Serializer serializer, Class<T> expectedRepresentation) <R> SerializedObject<R> SerializedMessage.serializePayload(Serializer serializer, Class<R> expectedRepresentation) <T> SerializedObject<T> SerializedObjectHolder.serializePayload(Serializer serializer, Class<T> expectedRepresentation) Constructors in org.axonframework.serialization with parameters of type SerializerModifierConstructorDescriptionLazyDeserializingObject(Supplier<SerializedObject<?>> serializedObjectSupplier, SerializedType serializedType, Serializer serializer) Creates an instance which will get the supplied SerializedObject and deserialize it upon request.LazyDeserializingObject(SerializedObject<?> serializedObject, Serializer serializer) Creates an instance which will deserialize givenserializedObjectupon request.SerializedMessage(String identifier, SerializedObject<?> serializedPayload, SerializedObject<?> serializedMetaData, Serializer serializer) Initializes aSerializedMessagewith givenidentifierfrom the given serialized payload and metadata.UnknownSerializedType(Serializer serializer, SerializedObject<?> serializedObject) Initialize the unknown type, using givenserializerandserializedObject. -
Uses of Serializer in org.axonframework.serialization.avro
Classes in org.axonframework.serialization.avro that implement SerializerModifier and TypeClassDescriptionclassSerializer providing support for Apache Avro, using Single Object Encoded binary encoding.Methods in org.axonframework.serialization.avro with parameters of type SerializerModifier and TypeMethodDescriptionAvroSerializer.Builder.serializerDelegate(Serializer serializerDelegate) Sets serializer delegate, used for all types which can't be converted to Avro. -
Uses of Serializer in org.axonframework.serialization.jackson3
Classes in org.axonframework.serialization.jackson3 that implement SerializerModifier and TypeClassDescriptionclassSerializer implementation that uses Jackson 3 to serialize objects into a JSON format. -
Uses of Serializer in org.axonframework.serialization.json
Classes in org.axonframework.serialization.json that implement SerializerModifier and TypeClassDescriptionclassSerializer implementation that uses Jackson 2 to serialize objects into a JSON format. -
Uses of Serializer in org.axonframework.serialization.upcasting.event
Constructors in org.axonframework.serialization.upcasting.event with parameters of type SerializerModifierConstructorDescriptionInitialEventRepresentation(EventData<?> eventData, Serializer serializer) Initializes anInitialEventRepresentationfrom the giveneventData. -
Uses of Serializer in org.axonframework.serialization.xml
Classes in org.axonframework.serialization.xml that implement SerializerModifier and TypeClassDescriptionclassSerializer that uses XStream to serialize and deserialize arbitrary objects. -
Uses of Serializer in org.axonframework.spring.config
Methods in org.axonframework.spring.config that return SerializerModifier and TypeMethodDescriptionAxonConfiguration.eventSerializer()Deprecated.AxonConfiguration.messageSerializer()Deprecated. -
Uses of Serializer in org.axonframework.spring.eventhandling.scheduling.quartz
Methods in org.axonframework.spring.eventhandling.scheduling.quartz with parameters of type SerializerModifier and TypeMethodDescriptionvoidQuartzEventSchedulerFactoryBean.setSerializer(Serializer serializer) Sets theSerializerused by theEventJobDataBinder. -
Uses of Serializer in org.axonframework.springboot.autoconfig
Methods in org.axonframework.springboot.autoconfig that return SerializerModifier and TypeMethodDescriptionAxonAutoConfiguration.eventSerializer(Serializer messageSerializer, Serializer generalSerializer, RevisionResolver revisionResolver) AxonAutoConfiguration.messageSerializer(Serializer generalSerializer, RevisionResolver revisionResolver) AxonAutoConfiguration.serializer(RevisionResolver revisionResolver) Methods in org.axonframework.springboot.autoconfig with parameters of type SerializerModifier and TypeMethodDescriptionAxonServerBusAutoConfiguration.axonServerCommandBus(AxonServerConnectionManager axonServerConnectionManager, AxonServerConfiguration axonServerConfiguration, CommandBus localSegment, Serializer messageSerializer, RoutingStrategy routingStrategy, CommandPriorityCalculator priorityCalculator, CommandLoadFactorProvider loadFactorProvider, TargetContextResolver<? super CommandMessage<?>> targetContextResolver, CommandBusSpanFactory spanFactory) AxonServerBusAutoConfiguration.axonServerEventStoreFactory(AxonServerConfiguration axonServerConfig, AxonServerConnectionManager axonServerConnectionManager, Serializer snapshotSerializer, Serializer eventSerializer, Configuration config) JdbcAutoConfiguration.deadLetterQueueProviderConfigurerModule(EventProcessorProperties eventProcessorProperties, ConnectionProvider connectionProvider, TransactionManager transactionManager, DeadLetterSchema schema, Serializer eventSerializer, Serializer genericSerializer) JpaAutoConfiguration.deadLetterQueueProviderConfigurerModule(EventProcessorProperties eventProcessorProperties, EntityManagerProvider entityManagerProvider, TransactionManager transactionManager, Serializer genericSerializer, Serializer eventSerializer) AxonDbSchedulerAutoConfiguration.deadlineManager(com.github.kagkarlsson.scheduler.Scheduler scheduler, Configuration configuration, Serializer serializer, TransactionManager transactionManager, DeadlineManagerSpanFactory spanFactory) AxonJobRunrAutoConfiguration.deadlineManager(org.jobrunr.scheduling.JobScheduler jobScheduler, Configuration configuration, Serializer serializer, TransactionManager transactionManager, DeadlineManagerSpanFactory spanFactory) AxonDbSchedulerAutoConfiguration.eventScheduler(com.github.kagkarlsson.scheduler.Scheduler scheduler, Serializer serializer, TransactionManager transactionManager, EventBus eventBus) AxonJobRunrAutoConfiguration.eventScheduler(org.jobrunr.scheduling.JobScheduler jobScheduler, Serializer serializer, TransactionManager transactionManager, EventBus eventBus) AxonServerAutoConfiguration.eventScheduler(Serializer eventSerializer, AxonServerConnectionManager connectionManager) AxonAutoConfiguration.eventSerializer(Serializer messageSerializer, Serializer generalSerializer, RevisionResolver revisionResolver) JdbcAutoConfiguration.eventStorageEngine(Serializer defaultSerializer, PersistenceExceptionResolver persistenceExceptionResolver, Serializer eventSerializer, Configuration configuration, ConnectionProvider connectionProvider, TransactionManager transactionManager, EventSchema eventSchema) JpaEventStoreAutoConfiguration.eventStorageEngine(Serializer defaultSerializer, PersistenceExceptionResolver persistenceExceptionResolver, Serializer eventSerializer, Configuration configuration, EntityManagerProvider entityManagerProvider, TransactionManager transactionManager) AxonServerBusAutoConfiguration.eventStore(AxonServerConfiguration axonServerConfiguration, Configuration configuration, AxonServerConnectionManager axonServerConnectionManager, Serializer snapshotSerializer, Serializer eventSerializer) AxonAutoConfiguration.messageSerializer(Serializer generalSerializer, RevisionResolver revisionResolver) AxonServerBusAutoConfiguration.queryBus(AxonServerConnectionManager axonServerConnectionManager, AxonServerConfiguration axonServerConfiguration, Configuration axonConfiguration, TransactionManager txManager, Serializer messageSerializer, Serializer genericSerializer, QueryPriorityCalculator priorityCalculator, QueryInvocationErrorHandler queryInvocationErrorHandler, TargetContextResolver<? super QueryMessage<?, ?>> targetContextResolver) JpaAutoConfiguration.sagaStore(Serializer serializer, EntityManagerProvider entityManagerProvider) JdbcAutoConfiguration.sagaStoreNoSchema(ConnectionProvider connectionProvider, Serializer serializer) JdbcAutoConfiguration.sagaStoreWithSchema(ConnectionProvider connectionProvider, Serializer serializer, SagaSqlSchema schema) AxonAutoConfiguration.serializerConfigurer(Serializer eventSerializer, Serializer messageSerializer, Serializer generalSerializer) JdbcAutoConfiguration.tokenStore(ConnectionProvider connectionProvider, Serializer serializer, TokenSchema tokenSchema) JpaAutoConfiguration.tokenStore(Serializer serializer, EntityManagerProvider entityManagerProvider) -
Uses of Serializer in org.axonframework.springboot.autoconfig.legacyjpa
Methods in org.axonframework.springboot.autoconfig.legacyjpa with parameters of type SerializerModifier and TypeMethodDescriptionJpaJavaxAutoConfiguration.deadLetterQueueProviderConfigurerModule(EventProcessorProperties eventProcessorProperties, EntityManagerProvider entityManagerProvider, TransactionManager transactionManager, Serializer genericSerializer, Serializer eventSerializer) Deprecated.JpaJavaxEventStoreAutoConfiguration.eventStorageEngine(Serializer defaultSerializer, PersistenceExceptionResolver persistenceExceptionResolver, Serializer eventSerializer, Configuration configuration, EntityManagerProvider entityManagerProvider, TransactionManager transactionManager) Deprecated.JpaJavaxAutoConfiguration.sagaStore(Serializer serializer, EntityManagerProvider entityManagerProvider) Deprecated.JpaJavaxAutoConfiguration.tokenStore(Serializer serializer, EntityManagerProvider entityManagerProvider) Deprecated.
XStreamSerializerandJacksonSerializer, as direct Java serialization is relatively error prone.