Class Neo4jRepositoryConfigurationExtension
java.lang.Object
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
org.springframework.data.neo4j.repository.config.Neo4jRepositoryConfigurationExtension
- All Implemented Interfaces:
RepositoryConfigurationExtension
@API(status=INTERNAL,
since="6.0")
public final class Neo4jRepositoryConfigurationExtension
extends RepositoryConfigurationExtensionSupport
This dedicated Neo4j repository extension will be registered via
Neo4jRepositoriesRegistrar
and then provide
all necessary beans to be registered in the application's context before the user's "business" beans gets registered.
While it is public, it is mainly used for internal API respectively for Spring Boots automatic configuration.
- Since:
- 6.0
- Author:
- Michael J. Simons, Gerrit Meier
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<Class<? extends Annotation>>
protected Collection<Class<?>>
protected String
void
postProcess
(BeanDefinitionBuilder builder, RepositoryConfigurationSource source) void
registerBeansForRoot
(BeanDefinitionRegistry registry, RepositoryConfigurationSource configurationSource) protected boolean
useRepositoryConfiguration
(RepositoryMetadata metadata) Methods inherited from class org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
getConfigurationInspectionClassLoader, getDefaultNamedQueryLocation, getRepositoryConfiguration, getRepositoryConfigurations, getRepositoryConfigurations, hasBean, isStrictRepositoryCandidate, postProcess, postProcess, registerIfNotAlreadyRegistered, registerLazyIfNotAlreadyRegistered, registerWithSourceAndGeneratedBeanName
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
-
Field Details
-
DEFAULT_NEO4J_CLIENT_BEAN_NAME
- See Also:
-
DEFAULT_NEO4J_TEMPLATE_BEAN_NAME
- See Also:
-
DEFAULT_TRANSACTION_MANAGER_BEAN_NAME
- See Also:
-
-
Constructor Details
-
Neo4jRepositoryConfigurationExtension
public Neo4jRepositoryConfigurationExtension()
-
-
Method Details
-
getRepositoryFactoryBeanClassName
-
getModuleName
- Specified by:
getModuleName
in interfaceRepositoryConfigurationExtension
- Overrides:
getModuleName
in classRepositoryConfigurationExtensionSupport
-
getModulePrefix
- Specified by:
getModulePrefix
in classRepositoryConfigurationExtensionSupport
-
getIdentifyingAnnotations
- Overrides:
getIdentifyingAnnotations
in classRepositoryConfigurationExtensionSupport
-
registerBeansForRoot
public void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource configurationSource) - Specified by:
registerBeansForRoot
in interfaceRepositoryConfigurationExtension
- Overrides:
registerBeansForRoot
in classRepositoryConfigurationExtensionSupport
-
getIdentifyingTypes
- Overrides:
getIdentifyingTypes
in classRepositoryConfigurationExtensionSupport
-
useRepositoryConfiguration
- Overrides:
useRepositoryConfiguration
in classRepositoryConfigurationExtensionSupport
-
postProcess
- Specified by:
postProcess
in interfaceRepositoryConfigurationExtension
- Overrides:
postProcess
in classRepositoryConfigurationExtensionSupport
-