| Package | Description |
|---|---|
| org.axonframework.serializer | |
| org.axonframework.serializer.bson | |
| org.axonframework.serializer.json | |
| org.axonframework.serializer.xml | |
| org.axonframework.upcasting |
| Modifier and Type | Class and Description |
|---|---|
class |
ChainingConverterFactory
ConverterFactory 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 |
|---|---|
ConverterFactory |
Serializer.getConverterFactory()
Returns the converter factory used by this Serializer to convert between serialized representations.
|
ConverterFactory |
MessageSerializer.getConverterFactory() |
ConverterFactory |
JavaSerializer.getConverterFactory() |
ConverterFactory |
AbstractXStreamSerializer.getConverterFactory()
Returns the ConverterFactory used by this serialized.
|
| Constructor and Description |
|---|
AbstractXStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver,
ConverterFactory converterFactory)
Initialize the serializer using the given
charset, xStream instance,
revisionResolver and converterFactory. |
| Constructor and Description |
|---|
DBObjectXStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver,
ConverterFactory converterFactory)
Initialize the serializer using the given
charset and xStream instance. |
| Modifier and Type | Method and Description |
|---|---|
ConverterFactory |
JacksonSerializer.getConverterFactory() |
| Constructor and Description |
|---|
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
RevisionResolver revisionResolver,
ConverterFactory converterFactory)
Initialize the serializer with the given
objectMapper to serialize and parse the objects to JSON. |
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
RevisionResolver revisionResolver,
ConverterFactory converterFactory,
ClassLoader classLoader)
Initialize the serializer with the given
objectMapper to serialize and parse the objects to JSON. |
JacksonSerializer(RevisionResolver revisionResolver,
ConverterFactory converterFactory)
Initialize the serializer using a default ObjectMapper instance, using the given
revisionResolver
to define revision for each object to serialize, and given converterFactory to be used by
upcasters. |
| Constructor and Description |
|---|
XStreamSerializer(Charset charset,
com.thoughtworks.xstream.XStream xStream,
RevisionResolver revisionResolver,
ConverterFactory converterFactory)
Initialize the serializer using the given
charset and xStream instance. |
| Constructor and Description |
|---|
AbstractUpcasterChain(ConverterFactory converterFactory,
List<Upcaster> upcasters)
Initializes the UpcasterChain with given
converterFactory and upcasters. |
LazyUpcasterChain(ConverterFactory converterFactory,
List<Upcaster> upcasters)
Initializes the UpcasterChain with given
converterFactory and upcasters. |
SimpleUpcasterChain(ConverterFactory converterFactory,
List<Upcaster> upcasters)
Initializes the UpcasterChain with given
converterFactory and upcasters. |
SimpleUpcasterChain(ConverterFactory converterFactory,
Upcaster... upcasters)
Initialize a chain of the given
upcasters and using the given converterFactory to
create converters for the intermediate representations used by the upcasters. |
Copyright © 2010-2014. All Rights Reserved.