Package com.aspectran.freemarker
Class FreeMarkerConfigurationFactoryBean
- java.lang.Object
-
- com.aspectran.freemarker.FreeMarkerConfigurationFactory
-
- com.aspectran.freemarker.FreeMarkerConfigurationFactoryBean
-
- All Implemented Interfaces:
com.aspectran.core.component.bean.ablility.FactoryBean<freemarker.template.Configuration>,com.aspectran.core.component.bean.ablility.InitializableBean,com.aspectran.core.component.bean.aware.ApplicationAdapterAware,com.aspectran.core.component.bean.aware.Aware
public class FreeMarkerConfigurationFactoryBean extends FreeMarkerConfigurationFactory implements com.aspectran.core.component.bean.ablility.InitializableBean, com.aspectran.core.component.bean.ablility.FactoryBean<freemarker.template.Configuration>
JavaBean to configure FreeMarker.Note: Aspectran's FreeMarker support requires FreeMarker 2.3 or higher.
Created: 2016. 1. 9.
-
-
Constructor Summary
Constructors Constructor Description FreeMarkerConfigurationFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description freemarker.template.ConfigurationgetObject()voidinitialize()Initialize FreeMarkerConfigurationFactory's Configuration if not overridden by a preconfigured FreeMarker Configuration.-
Methods inherited from class com.aspectran.freemarker.FreeMarkerConfigurationFactory
createConfiguration, getAggregateTemplateLoader, getTemplateLoaderForPath, newConfiguration, setApplicationAdapter, setConfigLocation, setDefaultEncoding, setFreemarkerSettings, setFreemarkerVariables, setTemplateLoader, setTemplateLoader, setTemplateLoader, setTemplateLoaderPath, setTemplateLoaderPath, setTemplateLoaderPath, setTrimDirectives, setTrimDirectives
-
-
-
-
Method Detail
-
initialize
public void initialize() throws java.lang.ExceptionInitialize FreeMarkerConfigurationFactory's Configuration if not overridden by a preconfigured FreeMarker Configuration.- Specified by:
initializein interfacecom.aspectran.core.component.bean.ablility.InitializableBean- Throws:
java.lang.Exception- Exceptions occurring when you configure FreeMarker
-
getObject
public freemarker.template.Configuration getObject()
- Specified by:
getObjectin interfacecom.aspectran.core.component.bean.ablility.FactoryBean<freemarker.template.Configuration>
-
-