Package | Description |
---|---|
org.axonframework.eventhandling.tokenstore | |
org.axonframework.serialization |
Classes related to message processing in Axon Framework.
|
org.axonframework.serialization.json | |
org.axonframework.serialization.upcasting.event |
Modifier and Type | Method and Description |
---|---|
protected SerializedType |
AbstractTokenEntry.getTokenType()
Returns the
SerializedType of the serialized token. |
Modifier and Type | Class and Description |
---|---|
class |
SimpleSerializedType
SerializedType implementation that takes its properties as constructor parameters.
|
Modifier and Type | Method and Description |
---|---|
static SerializedType |
SimpleSerializedType.emptyType()
Returns the type that represents an empty message, of undefined type.
|
SerializedType |
SimpleSerializedObject.getType() |
SerializedType |
SerializedObject.getType()
Returns the description of the type of object contained in the data.
|
SerializedType |
SerializedMetaData.getType() |
SerializedType |
Serializer.typeForClass(Class type)
Returns the type identifier for the given class.
|
SerializedType |
MessageSerializer.typeForClass(Class type) |
SerializedType |
JavaSerializer.typeForClass(Class type) |
SerializedType |
AbstractXStreamSerializer.typeForClass(Class type) |
Modifier and Type | Method and Description |
---|---|
Class |
Serializer.classForType(SerializedType type)
Returns the class for the given type identifier.
|
Class |
MessageSerializer.classForType(SerializedType type) |
Class |
JavaSerializer.classForType(SerializedType type) |
Class |
AbstractXStreamSerializer.classForType(SerializedType type) |
Constructor and Description |
---|
LazyDeserializingObject(Supplier<SerializedObject<?>> serializedObjectSupplier,
SerializedType serializedType,
Serializer serializer)
Creates an instance which will get the supplied SerializedObject and deserialize it upon request.
|
SimpleSerializedObject(T data,
Class<T> dataType,
SerializedType serializedType)
Initializes a SimpleSerializedObject using given
data and serializedType . |
UnknownSerializedTypeException(SerializedType serializedType)
Initialize the constructor with a default message, containing details of the given
serializedType |
UnknownSerializedTypeException(SerializedType serializedType,
Throwable cause)
Initialize the constructor with a default message, containing details of the given
serializedType |
Modifier and Type | Method and Description |
---|---|
SerializedType |
JacksonSerializer.typeForClass(Class type) |
Modifier and Type | Method and Description |
---|---|
Class |
JacksonSerializer.classForType(SerializedType type) |
protected String |
JacksonSerializer.resolveClassName(SerializedType serializedType)
Resolve the class name from the given
serializedType . |
Modifier and Type | Method and Description |
---|---|
SerializedType |
UpcastedEventRepresentation.getType() |
SerializedType |
IntermediateEventRepresentation.getType()
Returns the type and version of the data contained in this representation.
|
SerializedType |
InitialEventRepresentation.getType() |
Modifier and Type | Method and Description |
---|---|
<S> IntermediateEventRepresentation |
UpcastedEventRepresentation.upcast(SerializedType outputType,
Class<S> expectedRepresentationType,
Function<S,S> upcastFunction,
Function<MetaData,MetaData> metaDataUpcastFunction) |
<T> IntermediateEventRepresentation |
IntermediateEventRepresentation.upcast(SerializedType outputType,
Class<T> expectedRepresentationType,
Function<T,T> upcastFunction,
Function<MetaData,MetaData> metaDataUpcastFunction)
Upcast the serialized payload of the event (leaving other aspects of the event the same).
|
<T> IntermediateEventRepresentation |
InitialEventRepresentation.upcast(SerializedType outputType,
Class<T> expectedRepresentationType,
Function<T,T> upcastFunction,
Function<MetaData,MetaData> metaDataUpcastFunction) |
default <T> IntermediateEventRepresentation |
IntermediateEventRepresentation.upcastPayload(SerializedType outputType,
Class<T> expectedRepresentationType,
Function<T,T> upcastFunction)
Upcast the serialized payload of the event (leaving other aspects of the event the same).
|
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. |
Copyright © 2010–2018. All rights reserved.