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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
- Specified by:
getModulePrefix
in classorg.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
-
getRepositoryFactoryBeanClassName
-
postProcess
public void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource config) - Specified by:
postProcess
in interfaceorg.springframework.data.repository.config.RepositoryConfigurationExtension
- Overrides:
postProcess
in classorg.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
-
getIdentifyingAnnotations
- Overrides:
getIdentifyingAnnotations
in classorg.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
-
getIdentifyingTypes
- Overrides:
getIdentifyingTypes
in classorg.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 interfaceorg.springframework.data.repository.config.RepositoryConfigurationExtension
- Overrides:
postProcess
in classorg.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
-