create Aggregate Storage
public abstract AggregateStorage<I> createAggregateStorage<I>(ContextSpec context, Class<? extends Aggregate<I, ? extends Object, ? extends Object>> aggregateClass)
Creates a new AggregateStorage.
Parameters
<I>
the type of aggregate IDs
context
specification of the Bounded Context AggregateRepository
of which requests the creation of the storage
aggregate Class
the class of Aggregate
s to be stored