Class CmsContainerConfigurationCacheState

    • Field Detail

      • LOG

        public static final org.apache.commons.logging.Log LOG
        The logger instance for this class.
    • Method Detail

      • getContainerConfiguration

        public CmsContainerConfiguration getContainerConfiguration​(java.lang.String rootPath,
                                                                   java.lang.String name)
        Gets the container configuration for a given root path, name and locale.

        Parameters:
        rootPath - the root path
        name - the configuration name
        Returns:
        the container configuration for the given combination of parameters
      • getBasePath

        protected java.lang.String getBasePath​(java.lang.String rootPath)
        Returns the base path for a given configuration file. E.g. the result for the input '/sites/default/.container-config' will be '/sites/default'.

        Parameters:
        rootPath - the root path of the configuration file
        Returns:
        the base path for the configuration file
      • getCacheKey

        protected java.lang.String getCacheKey​(java.lang.String basePath)
        Gets the cache key for a given base path.

        Parameters:
        basePath - the base path
        Returns:
        the cache key for the base path