public abstract class BeanHelper extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Repository<T> |
repository(Class<T> aggregateType,
Configuration configuration)
|
public static <T> Repository<T> repository(Class<T> aggregateType, Configuration configuration)
T
- The type of aggregate.aggregateType
- The type to find the repository for.configuration
- The configuration from which to retrieve the Repository
.Repository
instance for the aggregate.IllegalArgumentException
- if the given aggregateType
has not been configured.Copyright © 2010–2024. All rights reserved.