Package grails.plugin.freemarker
Class AbstractTagLibAwareConfigurer
- java.lang.Object
-
- org.springframework.ui.freemarker.FreeMarkerConfigurationFactory
-
- org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
- grails.plugin.freemarker.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.StringCONFIGURED_ATTRIBUTE_NAME
-
Constructor Summary
Constructors Constructor Description AbstractTagLibAwareConfigurer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description freemarker.template.ConfigurationgetConfiguration()protected abstract groovy.lang.GroovyObjectgetTagLibInstance(org.springframework.context.ApplicationContext springContext, java.lang.String className)protected voidreconfigure()protected voidreconfigure(freemarker.template.Configuration configuration)voidsetConfiguration(freemarker.template.Configuration configuration)voidsetGrailsApplication(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
-
-
-
-
Method Detail
-
setConfiguration
public void setConfiguration(freemarker.template.Configuration configuration)
- Overrides:
setConfigurationin classorg.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
getConfiguration
public freemarker.template.Configuration getConfiguration()
- Specified by:
getConfigurationin interfaceorg.springframework.web.servlet.view.freemarker.FreeMarkerConfig- Overrides:
getConfigurationin classorg.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:
setGrailsApplicationin interfacegrails.core.support.GrailsApplicationAware
-
getTagLibInstance
protected abstract groovy.lang.GroovyObject getTagLibInstance(org.springframework.context.ApplicationContext springContext, java.lang.String className)
-
-