Class RiceFreeMarkerConfigurer
java.lang.Object
org.springframework.ui.freemarker.FreeMarkerConfigurationFactory
org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
org.kuali.rice.krad.uif.freemarker.RiceFreeMarkerConfigurer
- All Implemented Interfaces:
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 class RiceFreeMarkerConfigurer
extends org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
This class exists because rice uses a custom version of freemarker that is incompatible with Spring 4.
-
Field Summary
Fields inherited from class org.springframework.ui.freemarker.FreeMarkerConfigurationFactory
logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
afterPropertiesSet, getConfiguration, getTaglibFactory, postProcessTemplateLoaders, setConfiguration, setServletContextMethods inherited from class org.springframework.ui.freemarker.FreeMarkerConfigurationFactory
createConfiguration, getAggregateTemplateLoader, getResourceLoader, getTemplateLoaderForPath, isPreferFileSystemAccess, postProcessConfiguration, setConfigLocation, setDefaultEncoding, setFreemarkerSettings, setFreemarkerVariables, setPostTemplateLoaders, setPreferFileSystemAccess, setPreTemplateLoaders, setResourceLoader, setTemplateLoaderPath, setTemplateLoaderPathsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ResourceLoaderAware
setResourceLoader
-
Constructor Details
-
RiceFreeMarkerConfigurer
public RiceFreeMarkerConfigurer()
-
-
Method Details
-
newConfiguration
protected freemarker.template.Configuration newConfiguration() throws IOException, freemarker.template.TemplateException- Overrides:
newConfigurationin classorg.springframework.ui.freemarker.FreeMarkerConfigurationFactory- Throws:
IOExceptionfreemarker.template.TemplateException
-