spring-framework / org.springframework.web.servlet.view.freemarker / FreeMarkerConfigurer / setConfiguration

setConfiguration

open fun setConfiguration(configuration: Configuration): Unit

Set a preconfigured Configuration to use for the FreeMarker web config, e.g. a shared one for web and email usage, set up via FreeMarkerConfigurationFactoryBean. If this is not set, FreeMarkerConfigurationFactory's properties (inherited by this class) have to be specified.

See Also
org.springframework.ui.freemarker.FreeMarkerConfigurationFactoryBean