| Package | Description |
|---|---|
| org.axonframework.commandhandling.distributed | |
| org.axonframework.deadline.quartz | |
| org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus. |
| org.axonframework.eventhandling.scheduling.quartz | |
| org.axonframework.eventhandling.tokenstore | |
| org.axonframework.eventhandling.tokenstore.jdbc | |
| org.axonframework.eventhandling.tokenstore.jpa | |
| org.axonframework.messaging |
Classes related to message processing in Axon Framework.
|
| org.axonframework.messaging.responsetypes | |
| org.axonframework.serialization |
Classes related to message processing in Axon Framework.
|
| org.axonframework.serialization.json | |
| org.axonframework.serialization.upcasting.event | |
| org.axonframework.serialization.xml |
| Modifier and Type | Method and Description |
|---|---|
CommandMessage<?> |
DispatchMessage.getCommandMessage(Serializer serializer)
Returns the CommandMessage wrapped in this Message.
|
CommandResultMessage<?> |
ReplyMessage.getCommandResultMessage(Serializer serializer)
Returns a
CommandResultMessage containg the result of command processing. |
| Constructor and Description |
|---|
DispatchMessage(CommandMessage<?> commandMessage,
Serializer serializer,
boolean expectReply)
Initialized a DispatchMessage for the given
commandMessage, which uses the given
serializer to deserialize its contents. |
ReplyMessage(String commandIdentifier,
CommandResultMessage<?> commandResultMessage,
Serializer serializer)
Initializes a ReplyMessage containing a reply to the command with given {commandIdentifier} and given
commandResultMessage. |
| Modifier and Type | Method and Description |
|---|---|
static DeadlineMessage |
DeadlineJob.DeadlineJobDataBinder.deadlineMessage(Serializer serializer,
org.quartz.JobDataMap jobDataMap)
Extracts a
DeadlineMessage from provided jobDataMap. |
static ScopeDescriptor |
DeadlineJob.DeadlineJobDataBinder.deadlineScope(Serializer serializer,
org.quartz.JobDataMap jobDataMap)
|
QuartzDeadlineManager.Builder |
QuartzDeadlineManager.Builder.serializer(Serializer serializer)
Sets the
Serializer used to de-/serialize the DeadlineMessage and the ScopeDescriptor
into the JobDataMap. |
static org.quartz.JobDataMap |
DeadlineJob.DeadlineJobDataBinder.toJobData(Serializer serializer,
DeadlineMessage deadlineMessage,
ScopeDescriptor deadlineScope)
Serializes the provided
deadlineMessage and deadlineScope and puts them in a JobDataMap. |
| Modifier and Type | Method and Description |
|---|---|
static Stream<TrackedEventMessage<?>> |
EventUtils.upcastAndDeserializeTrackedEvents(Stream<? extends TrackedEventData<?>> eventEntryStream,
Serializer serializer,
EventUpcaster upcasterChain)
Upcasts and deserializes the given
eventEntryStream using the given serializer and upcasterChain. |
| Constructor and Description |
|---|
AbstractDomainEventEntry(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.
|
| Modifier and Type | Method and Description |
|---|---|
QuartzEventScheduler.Builder |
QuartzEventScheduler.Builder.serializer(Serializer serializer)
Sets the
Serializer used by the EventJobDataBinder. |
| Constructor and Description |
|---|
DirectEventJobDataBinder(Serializer serializer)
Instantiate a
QuartzEventScheduler.DirectEventJobDataBinder with the provided Serializer for
de-/serializing event messages. |
| Modifier and Type | Method and Description |
|---|---|
TrackingToken |
AbstractTokenEntry.getToken(Serializer serializer)
Returns the token, deserializing it with given
serializer |
void |
GenericTokenEntry.updateToken(TrackingToken token,
Serializer serializer) |
abstract void |
AbstractTokenEntry.updateToken(TrackingToken token,
Serializer serializer)
Update this entry with the given
token, serializing it using given serializer. |
protected void |
AbstractTokenEntry.updateToken(TrackingToken token,
Serializer serializer,
Class<T> contentType)
Update the token data to the given
token, using given serializer to serialize it to the given
contentType. |
| Constructor and Description |
|---|
AbstractTokenEntry(TrackingToken token,
Serializer serializer,
Class<T> contentType)
Initializes a new token entry for given
token, process and segment. |
GenericTokenEntry(TrackingToken token,
Serializer serializer,
Class<T> contentType,
String processorName,
int segment)
Initializes a new token entry for given
token, process and segment. |
| Modifier and Type | Method and Description |
|---|---|
Serializer |
JdbcTokenStore.serializer()
Returns the serializer used by the Token Store to serialize tokens.
|
| Modifier and Type | Method and Description |
|---|---|
JdbcTokenStore.Builder |
JdbcTokenStore.Builder.serializer(Serializer serializer)
Sets the
Serializer used to de-/serialize TrackingTokens with. |
| Modifier and Type | Method and Description |
|---|---|
Serializer |
JpaTokenStore.serializer()
Returns the serializer used by the Token Store to serialize tokens.
|
| Modifier and Type | Method and Description |
|---|---|
JpaTokenStore.Builder |
JpaTokenStore.Builder.serializer(Serializer serializer)
Sets the
Serializer used to de-/serialize TrackingTokens with. |
void |
TokenEntry.updateToken(TrackingToken token,
Serializer serializer) |
| Constructor and Description |
|---|
TokenEntry(String processorName,
int segment,
TrackingToken token,
Serializer serializer)
Initializes a new token entry for given
token, processorName and segment. |
| Modifier and Type | Method and Description |
|---|---|
default <T> SerializedObject<T> |
ResultMessage.serializeExceptionResult(Serializer serializer,
Class<T> expectedRepresentation)
Serializes the exception result.
|
default <R> SerializedObject<R> |
Message.serializeMetaData(Serializer serializer,
Class<R> expectedRepresentation)
Serialize the meta data of this message to the
expectedRepresentation using given serializer. |
<R> SerializedObject<R> |
GenericMessage.serializeMetaData(Serializer serializer,
Class<R> expectedRepresentation) |
<S> SerializedObject<S> |
MessageDecorator.serializeMetaData(Serializer serializer,
Class<S> expectedRepresentation) |
default <R> SerializedObject<R> |
Message.serializePayload(Serializer serializer,
Class<R> expectedRepresentation)
Serialize the payload of this message to the
expectedRepresentation using given serializer. |
<R> SerializedObject<R> |
GenericMessage.serializePayload(Serializer serializer,
Class<R> expectedRepresentation) |
default <S> SerializedObject<S> |
ResultMessage.serializePayload(Serializer serializer,
Class<S> expectedRepresentation) |
<S> SerializedObject<S> |
GenericResultMessage.serializePayload(Serializer serializer,
Class<S> expectedRepresentation) |
<S> SerializedObject<S> |
MessageDecorator.serializePayload(Serializer serializer,
Class<S> expectedRepresentation) |
| Modifier and Type | Method and Description |
|---|---|
<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) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractXStreamSerializer
Abstract implementation for XStream based serializers.
|
class |
JavaSerializer
Deprecated.
in favor of the
XStreamSerializer and
JacksonSerializer, as direct Java serialization is relatively error
prone. We hence strongly encourage to use either the XStream or Jackson solution in favor of this Serializer
implementation. |
| Modifier and Type | Method and Description |
|---|---|
Serializer |
LazyDeserializingObject.getSerializer()
Returns the serializer to deserialize this object
|
| Modifier and Type | Method and Description |
|---|---|
<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) |
| Constructor and Description |
|---|
LazyDeserializingObject(SerializedObject<?> serializedObject,
Serializer serializer)
Creates an instance which will deserialize given
serializedObject upon request. |
LazyDeserializingObject(Supplier<SerializedObject<?>> serializedObjectSupplier,
SerializedType serializedType,
Serializer serializer)
Creates an instance which will get the supplied SerializedObject and deserialize it upon request.
|
SerializedMessage(String identifier,
SerializedObject<?> serializedPayload,
SerializedObject<?> serializedMetaData,
Serializer serializer)
Initializes a
SerializedMessage with given identifier from the given serialized payload and
metadata. |
UnknownSerializedType(Serializer serializer,
SerializedObject<?> serializedObject)
Initialize the unknown type, using given
serializer and serializedObject. |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonSerializer
Serializer implementation that uses Jackson to serialize objects into a JSON format.
|
| Constructor and Description |
|---|
InitialEventRepresentation(EventData<?> eventData,
Serializer serializer)
Initializes an
InitialEventRepresentation from the given eventData. |
| Modifier and Type | Class and Description |
|---|---|
class |
XStreamSerializer
Serializer that uses XStream to serialize and deserialize arbitrary objects.
|
Copyright © 2010–2022. All rights reserved.