public abstract class RepositoryBeanDefinitionRegistrarSupport extends Object implements ImportBeanDefinitionRegistrar, ResourceLoaderAware, EnvironmentAware
ImportBeanDefinitionRegistrar
s to enable repositoryConstructor and Description |
---|
RepositoryBeanDefinitionRegistrarSupport() |
Modifier and Type | Method and Description |
---|---|
protected abstract Class<? extends Annotation> |
getAnnotation()
Return the annotation to obtain configuration information from.
|
protected abstract RepositoryConfigurationExtension |
getExtension()
Returns the
RepositoryConfigurationExtension for store specific callbacks and BeanDefinition
post-processing. |
void |
registerBeanDefinitions(AnnotationMetadata annotationMetadata,
BeanDefinitionRegistry registry) |
void |
setEnvironment(Environment environment) |
void |
setResourceLoader(ResourceLoader resourceLoader) |
public RepositoryBeanDefinitionRegistrarSupport()
public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader
in interface ResourceLoaderAware
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
public void registerBeanDefinitions(AnnotationMetadata annotationMetadata, BeanDefinitionRegistry registry)
registerBeanDefinitions
in interface ImportBeanDefinitionRegistrar
protected abstract Class<? extends Annotation> getAnnotation()
AnnotationRepositoryConfigurationSource
so have a look at the constants in there for what annotation
attributes it expects.protected abstract RepositoryConfigurationExtension getExtension()
RepositoryConfigurationExtension
for store specific callbacks and BeanDefinition
post-processing.RepositoryConfigurationExtensionSupport
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.