Class CoherenceRepositoryFactory

  • All Implemented Interfaces:
    Aware, BeanClassLoaderAware, BeanFactoryAware

    public class CoherenceRepositoryFactory
    extends org.springframework.data.repository.core.support.RepositoryFactorySupport
    Coherence implementation of RepositoryFactorySupport.
    Since:
    3.0
    Author:
    Ryan Lubke
    • Constructor Summary

      Constructors 
      Constructor Description
      CoherenceRepositoryFactory​(com.tangosol.net.Coherence coherence, CoherenceMappingContext mappingContext, java.lang.String sessionName, java.lang.String mapName)
      Creates a new CoherenceRepositoryFactory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T,​ID>
      org.springframework.data.repository.core.EntityInformation<T,​ID>
      getEntityInformation​(java.lang.Class<T> domainClass)  
      protected java.util.Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy​(org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)  
      protected java.lang.Class<?> getRepositoryBaseClass​(org.springframework.data.repository.core.RepositoryMetadata metadata)  
      protected java.lang.Object getTargetRepository​(org.springframework.data.repository.core.RepositoryInformation metadata)  
      • Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport

        addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, 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 Detail

      • CoherenceRepositoryFactory

        public CoherenceRepositoryFactory​(com.tangosol.net.Coherence coherence,
                                          CoherenceMappingContext mappingContext,
                                          java.lang.String sessionName,
                                          java.lang.String mapName)
        Creates a new CoherenceRepositoryFactory.
        Parameters:
        coherence - the Coherence instance
        mappingContext - the MappingContext
        sessionName - the Session name
        mapName - the NamedMap name
    • Method Detail

      • getEntityInformation

        public <T,​ID> org.springframework.data.repository.core.EntityInformation<T,​ID> getEntityInformation​(java.lang.Class<T> domainClass)
        Specified by:
        getEntityInformation in class org.springframework.data.repository.core.support.RepositoryFactorySupport
      • getTargetRepository

        protected java.lang.Object getTargetRepository​(org.springframework.data.repository.core.RepositoryInformation metadata)
        Specified by:
        getTargetRepository in class org.springframework.data.repository.core.support.RepositoryFactorySupport
      • getRepositoryBaseClass

        protected java.lang.Class<?> getRepositoryBaseClass​(org.springframework.data.repository.core.RepositoryMetadata metadata)
        Specified by:
        getRepositoryBaseClass in class org.springframework.data.repository.core.support.RepositoryFactorySupport
      • getQueryLookupStrategy

        protected java.util.Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy​(@Nullable
                                                                                                                           org.springframework.data.repository.query.QueryLookupStrategy.Key key,
                                                                                                                           org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
        Overrides:
        getQueryLookupStrategy in class org.springframework.data.repository.core.support.RepositoryFactorySupport