Class 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 Detail

      • FreeMarkerConfigurationFactoryBean

        public FreeMarkerConfigurationFactoryBean()
    • Method Detail

      • initialize

        public void initialize()
                        throws java.lang.Exception
        Initialize FreeMarkerConfigurationFactory's Configuration if not overridden by a preconfigured FreeMarker Configuration.
        Specified by:
        initialize in interface com.aspectran.core.component.bean.ablility.InitializableBean
        Throws:
        java.lang.Exception - Exceptions occurring when you configure FreeMarker
      • getObject

        public freemarker.template.Configuration getObject()
        Specified by:
        getObject in interface com.aspectran.core.component.bean.ablility.FactoryBean<freemarker.template.Configuration>