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 Details

    • exposeRegistration

      static void exposeRegistration(RepositoryConfigurationExtension extension, org.springframework.beans.factory.support.BeanDefinitionRegistry registry, RepositoryConfigurationSource configurationSource)
      Registers the given RepositoryConfigurationExtension 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.