org.axonframework.upcasting
Interface UpcasterChain
- All Known Implementing Classes:
- AbstractUpcasterChain, LazyUpcasterChain, SimpleUpcasterChain
public interface UpcasterChain
Represents a series of upcasters which are combined to upcast a SerializedObject
to the most recent revision of that payload. The intermediate representation required by each of the upcasters is
converted using converters provided by a converterFactory.
Upcasters for different object types may be merged into a single chain, as long as the order of related upcasters
can be guaranteed.
- Since:
- 2.0
- Author:
- Allard Buijze
upcast
List<SerializedObject> upcast(SerializedObject serializedObject,
UpcastingContext upcastingContext)
- Pass the given
serializedObject
through the chain of upcasters. The result is a list of zero or
more serializedObjects representing the latest revision of the payload object.
- Parameters:
serializedObject
- the serialized object to upcastupcastingContext
- the container of properties of the Message transporting the object being upcast
- Returns:
- the upcast SerializedObjects
Copyright © 2010-2016. All Rights Reserved.