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
  • Constructor Details

    • RepositoryFactoryBean

      public RepositoryFactoryBean(AggregateConfiguration<T> aggregateConfiguration)
      Deprecated.
      Initialize the Factory Bean using given aggregateConfiguration to locate the configured Repository instance.
      Parameters:
      aggregateConfiguration - The configuration providing access to the repository
  • Method Details

    • getObject

      public Repository<T> getObject()
      Deprecated.
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<T>
    • getObjectType

      public Class<?> getObjectType()
      Deprecated.
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<T>
    • isSingleton

      public boolean isSingleton()
      Deprecated.
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<T>