Interface FreemarkerConfigurationFactory

All Known Implementing Classes:
FreemarkerDefaultConfigurationFactory

public interface FreemarkerConfigurationFactory
Provides lookup of Configuration instance for Freemarker templating.

Instantiation of Configuration objects is relatively heavy-weight, and Freemarker best-practices dictate that they be reused if possible. Therefore, most implementations of this interface will only create a singleton Configuration instance, and return it for every call to getConfiguration(). Although this will usually be the case, it is not a guarantee of this interface's contract.
Author:
Jeff Wilde (jeff.wilde at complicatedrobot.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    freemarker.template.Configuration
     
  • Method Details

    • getConfiguration

      freemarker.template.Configuration getConfiguration()