org.apache.ignite.springdata.repository.support

## Class IgniteRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>

- java.lang.Object
- - org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
  - - org.apache.ignite.springdata.repository.support.IgniteRepositoryFactoryBean<T,S,ID>

- Type Parameters:
    `T` - Repository type, `IgniteRepository`
    `S` - Domain object class.
    `ID` - Domain object key, super expects `Serializable`.
  All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<T>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationEventPublisherAware, org.springframework.data.repository.core.support.RepositoryFactoryInformation<S,ID>

      public class IgniteRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>
      extends org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
      implements org.springframework.context.ApplicationContextAware

  Apache Ignite repository factory bean. The repository requires to define one of the parameters below in your Spring application configuration in order to get an access to Apache Ignite cluster:
  - `Ignite` instance bean named "igniteInstance"
  - `IgniteConfiguration` bean named "igniteCfg"
  - A path to Ignite's Spring XML configuration named "igniteSpringCfgPath"

- - ### Field Summary

    - ### Fields inherited from interface org.springframework.beans.factory.FactoryBean

      `OBJECT_TYPE_ATTRIBUTE`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `IgniteRepositoryFactoryBean(Class<? extends T> repositoryInterface)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected org.springframework.data.repository.core.support.RepositoryFactorySupport` | `createRepositoryFactory()`
    `void` | `setApplicationContext(org.springframework.context.ApplicationContext context)`

    - ### Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport

      `afterPropertiesSet, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragments`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IgniteRepositoryFactoryBean

          protected IgniteRepositoryFactoryBean(Class<? extends T> repositoryInterface)

      Parameters:
        `repositoryInterface` - Repository interface.

  - ### Method Detail

    - #### setApplicationContext

          public void setApplicationContext(org.springframework.context.ApplicationContext context)
                                     throws org.springframework.beans.BeansException

      Specified by:
        `setApplicationContext` in interface `org.springframework.context.ApplicationContextAware`
      Throws:
        `org.springframework.beans.BeansException`

    - #### createRepositoryFactory

          protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()

      Specified by:
        `createRepositoryFactory` in class `org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>`

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020