T - The type of Aggregate stored by the repositorypublic class RepositoryFactoryBean<T> extends Object implements org.springframework.beans.factory.FactoryBean<org.axonframework.modelling.command.Repository<T>>
| Constructor and Description |
|---|
RepositoryFactoryBean(org.axonframework.config.AggregateConfiguration<T> aggregateConfiguration)
Initialize the Factory Bean using given
aggregateConfiguration to locate the configured Repository
instance. |
| Modifier and Type | Method and Description |
|---|---|
org.axonframework.modelling.command.Repository<T> |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
public RepositoryFactoryBean(org.axonframework.config.AggregateConfiguration<T> aggregateConfiguration)
aggregateConfiguration to locate the configured Repository
instance.aggregateConfiguration - The configuration providing access to the repositorypublic org.axonframework.modelling.command.Repository<T> getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<org.axonframework.modelling.command.Repository<T>>public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.axonframework.modelling.command.Repository<T>>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.axonframework.modelling.command.Repository<T>>Copyright © 2010–2021. All rights reserved.