java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactorySupport
org.springframework.data.jpa.repository.support.JpaRepositoryFactory
com.cosium.spring.data.jpa.entity.graph.repository.support.EntityGraphJpaRepositoryFactory
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware

public class EntityGraphJpaRepositoryFactory extends org.springframework.data.jpa.repository.support.JpaRepositoryFactory
This repository factory allows to build EntityGraph aware repositories. Created on 22/11/16.
Author:
Reda.Housni-Alaoui
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityGraphJpaRepositoryFactory(javax.persistence.EntityManager entityManager)
    Creates a new JpaRepositoryFactory.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Class<?>
    getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
     

    Methods inherited from class org.springframework.data.jpa.repository.support.JpaRepositoryFactory

    getEntityInformation, getProjectionFactory, getQueryLookupStrategy, getRepositoryFragments, getRepositoryFragments, getTargetRepository, getTargetRepository, setBeanClassLoader, setEntityPathResolver, setEscapeCharacter, setQueryMethodFactory

    Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport

    addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate

    Methods inherited from class java.lang.Object

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

    • EntityGraphJpaRepositoryFactory

      public EntityGraphJpaRepositoryFactory(javax.persistence.EntityManager entityManager)
      Creates a new JpaRepositoryFactory.
      Parameters:
      entityManager - must not be null
  • Method Details

    • getRepositoryBaseClass

      protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
      Overrides:
      getRepositoryBaseClass in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory