public abstract class RepositoryBeanDefinitionRegistrarSupport extends Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware, org.springframework.context.EnvironmentAware
ImportBeanDefinitionRegistrars to enable repository| Constructor 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.ResourceLoaderAwarepublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwarepublic void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata annotationMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrarprotected 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.RepositoryConfigurationExtensionSupportCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.