Interface ConfMgr

    • Method Detail

      • getConf

        Conf getConf​(Resource resource)
        Deprecated.
        Retrieves a Conf for the given resource using the resource resolver behind the given resource.
        Parameters:
        resource - a content resource for which a configuration should be resolved
        Returns:
        a configuration (never null)
      • getConf

        Conf getConf​(Resource resource,
                     ResourceResolver configResolver)
        Deprecated.
        Retrieves a Conf for the given resource, but will make all lookups on the configuration tree using the configResolver. Use this when a separate user is needed for the configuration lookups.
        Parameters:
        resource - a content resource for which a configuration should be resolved
        configResolver - a dedicated resource resolver to be used for lookups under the referenced configuration tree(s)
        Returns:
        a configuration (never null)