Interface ConfigurationManagerFactory


  • public interface ConfigurationManagerFactory
    The ConfigurationManagerFactory provides a way of obtaining a ConfigurationManager instance which is backed by a specific ResourceResolver

    In the context of OSGi services, using this interface is preferred over the ConfigurationManager service, as it returns a ConfigurationManager instance which uses the caller's session to read repository resources.

    • Method Detail

      • getConfigurationManager

        ConfigurationManager getConfigurationManager​(ResourceResolver resolver)
        Returns a ConfigurationManager instance backed by the specified ResourceResolver
        Parameters:
        resolver - the resource resolver, must not be null
        Returns:
        a ConfigurationManager instance, never null