createProjectionStorage

public abstract ProjectionStorage<I> createProjectionStorage<I>(ContextSpec context, Class<? extends Projection<I, ? extends Object, ? extends Object>> projectionClass)

Creates a new ProjectionStorage.

Parameters

<I>

the type of stream projection IDs

context

specification of the Bounded Context ProjectionRepository of which requests the creation of the storage

projectionClass

the class of Projections to be stored