public abstract class RepositoryBeanDefinitionRegistrarSupport extends Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware, org.springframework.context.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(org.springframework.core.type.AnnotationMetadata annotationMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
public RepositoryBeanDefinitionRegistrarSupport()
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment
in interface org.springframework.context.EnvironmentAware
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata annotationMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions
in interface org.springframework.context.annotation.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 © 2016. All rights reserved.