T
- The aggregate typeBeanHelper
factory methods to retrieve it.@Deprecated public class SpringRepositoryFactoryBean<T> extends Object implements org.springframework.beans.factory.FactoryBean<Repository<T>>
Repository
created by the SpringAggregateConfigurer
to the Spring Application Context.
This will allow it to be injected as a bean.Constructor and Description |
---|
SpringRepositoryFactoryBean(Class<T> aggregateClass)
Deprecated.
Constructs the
SpringRepositoryFactoryBean for the provided aggregateClass . |
Modifier and Type | Method and Description |
---|---|
Repository<T> |
getObject()
Deprecated.
|
Class<?> |
getObjectType()
Deprecated.
|
void |
setConfiguration(Configuration configuration)
Deprecated.
Sets the
Configuration that the Repository will be retrieved from. |
public SpringRepositoryFactoryBean(Class<T> aggregateClass)
SpringRepositoryFactoryBean
for the provided aggregateClass
.aggregateClass
- The aggregate's classpublic Repository<T> getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<Repository<T>>
Exception
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<Repository<T>>
public void setConfiguration(Configuration configuration)
Configuration
that the Repository
will be retrieved from.configuration
- The Configuration
for usage in the factory bean.Copyright © 2010–2024. All rights reserved.