Class SpringRepositoryFactoryBean<T>
java.lang.Object
org.axonframework.spring.modelling.SpringRepositoryFactoryBean<T>
- Type Parameters:
T- The aggregate type
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Repository<T>>
@Deprecated
public class SpringRepositoryFactoryBean<T>
extends Object
implements org.springframework.beans.factory.FactoryBean<Repository<T>>
Deprecated.
Supplies the
Repository created by the SpringAggregateConfigurer to the Spring Application Context.
This will allow it to be injected as a bean.- Since:
- 4.6.1
- Author:
- Mitchell Herrijgers
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionSpringRepositoryFactoryBean(Class<T> aggregateClass) Deprecated.Constructs theSpringRepositoryFactoryBeanfor the providedaggregateClass. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Class<?> Deprecated.voidsetConfiguration(Configuration configuration) Deprecated.Sets theConfigurationthat theRepositorywill be retrieved from.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
SpringRepositoryFactoryBean
Deprecated.Constructs theSpringRepositoryFactoryBeanfor the providedaggregateClass.- Parameters:
aggregateClass- The aggregate's class
-
-
Method Details
-
getObject
Deprecated. -
getObjectType
Deprecated.- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<T>
-
setConfiguration
Deprecated.Sets theConfigurationthat theRepositorywill be retrieved from.- Parameters:
configuration- TheConfigurationfor usage in the factory bean.
-
BeanHelperfactory methods to retrieve it.