public class Neo4jRepositoryConfigurationExtension extends RepositoryConfigurationExtensionSupport
EnableNeo4jRepositories
annotation. Also, it registers a bean definition for a
PersistenceExceptionTranslationPostProcessor
to enable exception translation of persistence specific
exceptions into Spring's DataAccessException
hierarchy.Constructor and Description |
---|
Neo4jRepositoryConfigurationExtension() |
Modifier and Type | Method and Description |
---|---|
protected Collection<Class<? extends Annotation>> |
getIdentifyingAnnotations() |
protected Collection<Class<?>> |
getIdentifyingTypes() |
String |
getModuleName() |
protected String |
getModulePrefix() |
String |
getRepositoryFactoryBeanClassName() |
void |
postProcess(BeanDefinitionBuilder builder,
AnnotationRepositoryConfigurationSource config) |
void |
postProcess(BeanDefinitionBuilder builder,
RepositoryConfigurationSource source) |
void |
postProcess(BeanDefinitionBuilder builder,
XmlRepositoryConfigurationSource config) |
void |
registerBeansForRoot(BeanDefinitionRegistry registry,
RepositoryConfigurationSource config) |
getDefaultNamedQueryLocation, getRepositoryConfiguration, getRepositoryConfigurations, getRepositoryConfigurations, hasBean, isStrictRepositoryCandidate, registerIfNotAlreadyRegistered, registerWithSourceAndGeneratedBeanName, useRepositoryConfiguration
public Neo4jRepositoryConfigurationExtension()
public String getModuleName()
getModuleName
in interface RepositoryConfigurationExtension
getModuleName
in class RepositoryConfigurationExtensionSupport
public String getRepositoryFactoryBeanClassName()
protected String getModulePrefix()
getModulePrefix
in class RepositoryConfigurationExtensionSupport
protected Collection<Class<? extends Annotation>> getIdentifyingAnnotations()
getIdentifyingAnnotations
in class RepositoryConfigurationExtensionSupport
protected Collection<Class<?>> getIdentifyingTypes()
getIdentifyingTypes
in class RepositoryConfigurationExtensionSupport
public void postProcess(BeanDefinitionBuilder builder, RepositoryConfigurationSource source)
postProcess
in interface RepositoryConfigurationExtension
postProcess
in class RepositoryConfigurationExtensionSupport
public void postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource config)
postProcess
in interface RepositoryConfigurationExtension
postProcess
in class RepositoryConfigurationExtensionSupport
public void postProcess(BeanDefinitionBuilder builder, XmlRepositoryConfigurationSource config)
postProcess
in interface RepositoryConfigurationExtension
postProcess
in class RepositoryConfigurationExtensionSupport
public void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource config)
registerBeansForRoot
in interface RepositoryConfigurationExtension
registerBeansForRoot
in class RepositoryConfigurationExtensionSupport
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.