Class SpannerRepositoryConfigurationExtension

java.lang.Object
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoryConfigurationExtension
All Implemented Interfaces:
org.springframework.data.repository.config.RepositoryConfigurationExtension

public class SpannerRepositoryConfigurationExtension extends org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
A boilerplate class configuring the instantiation of Spanner repositories.
Since:
1.1
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Collection<Class<? extends Annotation>>
     
    protected Collection<Class<?>>
     
    protected String
     
     
    void
    postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource config)
     
    void
    postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.data.repository.config.XmlRepositoryConfigurationSource config)
     

    Methods inherited from class org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport

    getConfigurationInspectionClassLoader, getDefaultNamedQueryLocation, getModuleName, getRepositoryConfiguration, getRepositoryConfigurations, getRepositoryConfigurations, hasBean, isStrictRepositoryCandidate, postProcess, registerBeansForRoot, registerIfNotAlreadyRegistered, registerLazyIfNotAlreadyRegistered, registerWithSourceAndGeneratedBeanName, useRepositoryConfiguration

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.springframework.data.repository.config.RepositoryConfigurationExtension

    getModuleIdentifier, getRepositoryAotProcessor
  • Constructor Details

    • SpannerRepositoryConfigurationExtension

      public SpannerRepositoryConfigurationExtension()
  • Method Details

    • getModulePrefix

      protected String getModulePrefix()
      Specified by:
      getModulePrefix in class org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
    • getRepositoryFactoryBeanClassName

      public String getRepositoryFactoryBeanClassName()
    • postProcess

      public void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource config)
      Specified by:
      postProcess in interface org.springframework.data.repository.config.RepositoryConfigurationExtension
      Overrides:
      postProcess in class org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
    • getIdentifyingAnnotations

      protected Collection<Class<? extends Annotation>> getIdentifyingAnnotations()
      Overrides:
      getIdentifyingAnnotations in class org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
    • getIdentifyingTypes

      protected Collection<Class<?>> getIdentifyingTypes()
      Overrides:
      getIdentifyingTypes in class org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
    • postProcess

      public void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.data.repository.config.XmlRepositoryConfigurationSource config)
      Specified by:
      postProcess in interface org.springframework.data.repository.config.RepositoryConfigurationExtension
      Overrides:
      postProcess in class org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport