![JAR search and dependency download from the Maven repository](/logo.png)
org.webpieces.templating.api.ProdTemplateModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-templating Show documentation
Show all versions of http-templating Show documentation
Templating library using groovy as the scripting language
package org.webpieces.templating.api;
import com.google.inject.Binder;
import com.google.inject.Module;
public class ProdTemplateModule implements Module {
public static final String ROUTE_META_FILE = "org.webpieces.routeId.txt";
public static final String ROUTE_TYPE = "route";
public static final String PATH_TYPE = "path";
private TemplateConfig config;
public ProdTemplateModule(TemplateConfig config) {
this.config = config;
}
@Override
public void configure(Binder binder) {
binder.bind(TemplateConfig.class).toInstance(config);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy