Class InMemoryRepository<AGGREGATE extends Identified<String>>

java.lang.Object
org.opentestfactory.services.components.repository.InMemoryRepository<AGGREGATE>
Type Parameters:
AGGREGATE - The type of Aggregate that a class extending this one will handle.
All Implemented Interfaces:
AggregateRepository<String,AGGREGATE>

public abstract class InMemoryRepository<AGGREGATE extends Identified<String>> extends Object implements AggregateRepository<String,AGGREGATE>
Basic implementation of AggregateRepository for Aggregates with String keys. Extends it in a class annotated @Component to have a singleton repository.