Last active
August 29, 2015 14:18
-
-
Save chkal/ba10a88a88db0091ddba to your computer and use it in GitHub Desktop.
Customization of the configuration used by FreemarkerViewEngine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomConfigurationProducer extends DefaultConfigurationProducer { | |
@Override | |
@Specializes | |
@Produces | |
@ViewEngineConfig // <--- See my note in the mail | |
public Configuration getConfiguration() { | |
Configuration config = super.getConfiguration(); | |
// do custom initialization here | |
return config; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment