Interface RepositoryConfigurationUtils
public interface RepositoryConfigurationUtils
Helper class to centralize common functionality that needs to be used in various places of the configuration
implementation.
- Author:
- Oliver Gierke
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic void
exposeRegistration
(RepositoryConfigurationExtension extension, org.springframework.beans.factory.support.BeanDefinitionRegistry registry, RepositoryConfigurationSource configurationSource) Registers the givenRepositoryConfigurationExtension
to indicate the repository configuration for a particular store (expressed through the extension's concrete type) has happened.
-
Method Details
-
exposeRegistration
static void exposeRegistration(RepositoryConfigurationExtension extension, org.springframework.beans.factory.support.BeanDefinitionRegistry registry, RepositoryConfigurationSource configurationSource) Registers the givenRepositoryConfigurationExtension
to indicate the repository configuration for a particular store (expressed through the extension's concrete type) has happened. Useful for downstream components that need to detect exactly that case. The bean definition is marked as lazy-init so that it doesn't get instantiated if no one really cares.- Parameters:
extension
- must not be null.registry
- must not be null.configurationSource
- must not be null.
-