Class ContextAwareSingleEventUpcaster<C>

java.lang.Object
org.axonframework.serialization.upcasting.ContextAwareSingleEntryUpcaster<IntermediateEventRepresentation,C>
org.axonframework.serialization.upcasting.event.ContextAwareSingleEventUpcaster<C>
Type Parameters:
C - the type of context used as C
All Implemented Interfaces:
EventUpcaster, Upcaster<IntermediateEventRepresentation>

public abstract class ContextAwareSingleEventUpcaster<C> extends ContextAwareSingleEntryUpcaster<IntermediateEventRepresentation,C> implements EventUpcaster
Abstract implementation of an event Upcaster that eases the common process of upcasting one intermediate event representation to another representation by applying a simple mapping function to the input stream of intermediate representations. Additionally, it's a context aware implementation, which enables it to store and reuse context information from one entry to another during upcasting.
Since:
3.1
Author:
Steven van Beelen
  • Constructor Details

    • ContextAwareSingleEventUpcaster

      public ContextAwareSingleEventUpcaster()