Package org.jdbi.v3.freemarker
Class FreemarkerConfig
- java.lang.Object
-
- org.jdbi.v3.freemarker.FreemarkerConfig
-
- All Implemented Interfaces:
JdbiConfig<FreemarkerConfig>
public class FreemarkerConfig extends java.lang.Object implements JdbiConfig<FreemarkerConfig>
-
-
Field Summary
Fields Modifier and Type Field Description private freemarker.template.ConfigurationfreemarkerConfiguration
-
Constructor Summary
Constructors Modifier Constructor Description FreemarkerConfig()privateFreemarkerConfig(FreemarkerConfig other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FreemarkerConfigcreateCopy()Returns a copy of this configuration object.FreemarkerSqlLocatorcreateLocator()freemarker.template.ConfigurationgetFreemarkerConfiguration()private static java.lang.ClassLoaderselectClassLoader()FreemarkerConfigsetFreemarkerConfiguration(freemarker.template.Configuration freemarkerConfiguration)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jdbi.v3.core.config.JdbiConfig
setRegistry
-
-
-
-
Constructor Detail
-
FreemarkerConfig
public FreemarkerConfig()
-
FreemarkerConfig
private FreemarkerConfig(FreemarkerConfig other)
-
-
Method Detail
-
setFreemarkerConfiguration
public FreemarkerConfig setFreemarkerConfiguration(freemarker.template.Configuration freemarkerConfiguration)
-
getFreemarkerConfiguration
public freemarker.template.Configuration getFreemarkerConfiguration()
-
createLocator
public FreemarkerSqlLocator createLocator()
-
createCopy
public FreemarkerConfig createCopy()
Description copied from interface:JdbiConfigReturns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.- Specified by:
createCopyin interfaceJdbiConfig<FreemarkerConfig>- Returns:
- a copy of this configuration object.
-
selectClassLoader
private static java.lang.ClassLoader selectClassLoader()
-
-