Package org.axonframework.spring.config
Class RepositoryFactoryBean<T>
java.lang.Object
org.axonframework.spring.config.RepositoryFactoryBean<T>
- Type Parameters:
T- The type of Aggregate stored by the repository
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Repository<T>>
@Deprecated
public class RepositoryFactoryBean<T>
extends Object
implements org.springframework.beans.factory.FactoryBean<Repository<T>>
Deprecated.
Spring Factory bean that allows registration of a Repository for an Aggregate in the Spring Application Context based
on a given AggregateConfiguration
- Since:
- 3.3
- Author:
- Allard Buijze
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionRepositoryFactoryBean(AggregateConfiguration<T> aggregateConfiguration) Deprecated.Initialize the Factory Bean using givenaggregateConfigurationto locate the configured Repository instance. -
Method Summary
-
Constructor Details
-
RepositoryFactoryBean
Deprecated.Initialize the Factory Bean using givenaggregateConfigurationto locate the configured Repository instance.- Parameters:
aggregateConfiguration- The configuration providing access to the repository
-
-
Method Details
-
getObject
Deprecated.- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<T>
-
getObjectType
Deprecated.- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<T>
-
isSingleton
public boolean isSingleton()Deprecated.- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<T>
-
SpringAggregateLookupandSpringAggregateConfigurer.