Class PageTemplateConfigurer


  • public class PageTemplateConfigurer
    extends Object
    Provides a static method to convert a page template config into a PageTemplateRegistry. In addition, instances of this can be created to subscribe to config and keep an up to date registry reference.
    Author:
    bratseth
    • Constructor Detail

      • PageTemplateConfigurer

        public PageTemplateConfigurer()
    • Method Detail

      • toRegistry

        public static PageTemplateRegistry toRegistry​(PageTemplatesConfig config)
        Creates a new page template registry from the content of a config and returns it. The returned registry will not be frozen. This should be done, by calling freeze(), before it is used.