Package | Description |
---|---|
org.axonframework.mongo.serialization | |
org.axonframework.serialization |
Classes related to message processing in Axon Framework.
|
org.axonframework.serialization.json | |
org.axonframework.serialization.upcasting.event | |
org.axonframework.serialization.xml |
Constructor and Description |
---|
DBObjectXStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver,
Converter converter)
Initialize the serializer using the given
charset and xStream instance. |
Modifier and Type | Class and Description |
---|---|
class |
ChainingConverter
Converter implementation that will combine converters to form chains of converters to be able to convert
from one type to another, for which there is no suitable single converter.
|
Modifier and Type | Method and Description |
---|---|
Converter |
Serializer.getConverter()
Returns the
Converter used by this Serializer to convert between serialized representations. |
Converter |
MessageSerializer.getConverter() |
Converter |
JavaSerializer.getConverter() |
Converter |
AbstractXStreamSerializer.getConverter()
Returns the Converter used by this serialized.
|
Constructor and Description |
---|
AbstractXStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver,
Converter converter)
Initialize the serializer using the given
charset , xStream instance,
revisionResolver and converter . |
Modifier and Type | Method and Description |
---|---|
Converter |
JacksonSerializer.getConverter() |
Constructor and Description |
---|
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
RevisionResolver revisionResolver,
Converter converter)
Initialize the serializer with the given
objectMapper to serialize and parse the objects to JSON. |
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
RevisionResolver revisionResolver,
Converter converter,
ClassLoader classLoader)
Initialize the serializer with the given
objectMapper to serialize and parse the objects to JSON. |
JacksonSerializer(RevisionResolver revisionResolver,
Converter converter)
Initialize the serializer using a default ObjectMapper instance, using the given
revisionResolver
to define revision for each object to serialize, and given converter to be used by
upcasters. |
Constructor and Description |
---|
UpcastedEventRepresentation(SerializedType outputType,
IntermediateEventRepresentation source,
Function<T,T> upcastFunction,
Function<MetaData,MetaData> metaDataUpcastFunction,
Class<T> requiredType,
Converter converter)
Initializes an
UpcastedEventRepresentation from source data and given upcast functions for payload and
metadata. |
Constructor and Description |
---|
XStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver,
Converter converter)
Initialize the serializer using the given
charset and xStream instance. |
Copyright © 2010–2017. All rights reserved.