Class AbstractTagLibAwareConfigurer

  • All Implemented Interfaces:
    grails.core.support.GrailsApplicationAware, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.view.freemarker.FreeMarkerConfig

    public abstract class AbstractTagLibAwareConfigurer
    extends org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
    implements grails.core.support.GrailsApplicationAware
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONFIGURED_ATTRIBUTE_NAME  
      • Fields inherited from class org.springframework.ui.freemarker.FreeMarkerConfigurationFactory

        logger
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      freemarker.template.Configuration getConfiguration()  
      protected abstract groovy.lang.GroovyObject getTagLibInstance​(org.springframework.context.ApplicationContext springContext, java.lang.String className)  
      protected void reconfigure()  
      protected void reconfigure​(freemarker.template.Configuration configuration)  
      void setConfiguration​(freemarker.template.Configuration configuration)  
      void setGrailsApplication​(grails.core.GrailsApplication grailsApplication)  
      • Methods inherited from class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer

        afterPropertiesSet, getTaglibFactory, postProcessTemplateLoaders, setServletContext
      • Methods inherited from class org.springframework.ui.freemarker.FreeMarkerConfigurationFactory

        createConfiguration, getAggregateTemplateLoader, getResourceLoader, getTemplateLoaderForPath, isPreferFileSystemAccess, newConfiguration, postProcessConfiguration, setConfigLocation, setDefaultEncoding, setFreemarkerSettings, setFreemarkerVariables, setPostTemplateLoaders, setPreferFileSystemAccess, setPreTemplateLoaders, setResourceLoader, setTemplateLoaderPath, setTemplateLoaderPaths
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.context.ResourceLoaderAware

        setResourceLoader
    • Field Detail

      • CONFIGURED_ATTRIBUTE_NAME

        public static final java.lang.String CONFIGURED_ATTRIBUTE_NAME
    • Constructor Detail

      • AbstractTagLibAwareConfigurer

        public AbstractTagLibAwareConfigurer()
    • Method Detail

      • setConfiguration

        public void setConfiguration​(freemarker.template.Configuration configuration)
        Overrides:
        setConfiguration in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
      • getConfiguration

        public freemarker.template.Configuration getConfiguration()
        Specified by:
        getConfiguration in interface org.springframework.web.servlet.view.freemarker.FreeMarkerConfig
        Overrides:
        getConfiguration in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
      • reconfigure

        protected void reconfigure()
      • reconfigure

        protected void reconfigure​(freemarker.template.Configuration configuration)
      • setGrailsApplication

        public void setGrailsApplication​(grails.core.GrailsApplication grailsApplication)
        Specified by:
        setGrailsApplication in interface grails.core.support.GrailsApplicationAware
      • getTagLibInstance

        protected abstract groovy.lang.GroovyObject getTagLibInstance​(org.springframework.context.ApplicationContext springContext,
                                                                      java.lang.String className)