public abstract class BeanHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> org.axonframework.modelling.command.Repository<T> |
repository(Class<T> aggregateType,
org.axonframework.config.Configuration configuration)
Retrieves the
Repository for given aggregateType from given configuration. |
public static <T> org.axonframework.modelling.command.Repository<T> repository(Class<T> aggregateType, org.axonframework.config.Configuration configuration)
Repository for given aggregateType from given 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.