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