Package | Description |
---|---|
org.axonframework.mongo.serialization | |
org.axonframework.serialization |
Classes related to message processing in Axon Framework.
|
org.axonframework.serialization.json | |
org.axonframework.serialization.xml |
Constructor and Description |
---|
DBObjectXStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver)
Initialize the serializer using the given
charset , xStream and
revisionResolver instance. |
DBObjectXStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver,
Converter converter)
Initialize the serializer using the given
charset and xStream instance. |
DBObjectXStreamSerializer(com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver)
Initialize the serializer using the UTF-8 character set.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationRevisionResolver
Revision Resolver implementation that checks for the presence of an
@Revision annotation. |
class |
FixedValueRevisionResolver
RevisionResolver implementation that returns a fixed value as revision, regardless of the type of serialized object
involved.
|
class |
MavenArtifactRevisionResolver
RevisionResolver that uses Maven meta data to retrieve the application version.
|
class |
SerialVersionUIDRevisionResolver
RevisionResolver implementation that returns the (String representation of the) serialVersionUID of a class.
|
Constructor and Description |
---|
AbstractXStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver)
Initialize the serializer using the given
charset and xStream instance. |
AbstractXStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver,
Converter converter)
Initialize the serializer using the given
charset , xStream instance,
revisionResolver and converter . |
AbstractXStreamSerializer(com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver)
Initialize a generic serializer using the UTF-8 character set.
|
JavaSerializer(RevisionResolver revisionResolver)
Initialize the serializer using a SerialVersionUIDRevisionResolver.
|
Modifier and Type | Method and Description |
---|---|
protected RevisionResolver |
JacksonSerializer.getRevisionResolver()
Returns the revision resolver used by this serializer.
|
Constructor and Description |
---|
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
RevisionResolver revisionResolver)
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)
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 |
---|
XStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver)
Initialize the serializer using the given
charset and xStream instance. |
XStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver,
Converter converter)
Initialize the serializer using the given
charset and xStream instance. |
XStreamSerializer(RevisionResolver revisionResolver)
Initialize a generic serializer using the UTF-8 character set.
|
XStreamSerializer(com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver)
Initialize a generic serializer using the UTF-8 character set.
|
Copyright © 2010–2017. All rights reserved.