Class FreeMarkerConfigurationFactoryBean

    • 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 InitializableBean
        Throws:
        java.lang.Exception - Exceptions occurring when you configure FreeMarker
      • getObject

        public freemarker.template.Configuration getObject()
        Description copied from interface: FactoryBean
        Return an instance (possibly shared or independent) of the object managed by this factory. As with a BeanFactory, this allows support for both the Singleton and Prototype design pattern.
        Specified by:
        getObject in interface FactoryBean<freemarker.template.Configuration>
        Returns:
        an instance of the bean (can be null)