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<org.axonframework.modelling.command.Repository<T>>

@Deprecated public class RepositoryFactoryBean<T> extends Object implements org.springframework.beans.factory.FactoryBean<org.axonframework.modelling.command.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

    Constructors
    Constructor
    Description
    RepositoryFactoryBean(org.axonframework.config.AggregateConfiguration<T> aggregateConfiguration)
    Deprecated.
    Initialize the Factory Bean using given aggregateConfiguration to locate the configured Repository instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.axonframework.modelling.command.Repository<T>
    Deprecated.
     
    Deprecated.
     
    boolean
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RepositoryFactoryBean

      public RepositoryFactoryBean(org.axonframework.config.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 org.axonframework.modelling.command.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>