@GenericImplementation @InMemory public class DefaultInMemoryRepository<A extends AggregateRoot<I>,I> extends BaseInMemoryRepository<A,I>
When no custom repository exists
for the aggregate, this in-memory implementation can be injected for Repository
with the qualifier @InMemory.
Repository.Option
Constructor and Description |
---|
DefaultInMemoryRepository(Object[] genericClasses)
Creates a default in-memory repository.
|
add, get, remove
getAggregateRootClass, getIdentifierClass, getSpecificationBuilder
@Inject public DefaultInMemoryRepository(Object[] genericClasses)
genericClasses
- the resolved generics for the aggregate root class and the key classCopyright © 2013-2018–2019 SeedStack. All rights reserved.