use of org.beetl.ext.spring.BeetlGroupUtilConfiguration in project vip by guangdada.
the class BeetlConfig method beetlConfiguration.
/**
* beetl的配置
*/
@Bean(initMethod = "init")
public BeetlGroupUtilConfiguration beetlConfiguration() {
BeetlGroupUtilConfiguration beetlConfiguration = new BeetlGroupUtilConfiguration();
beetlConfiguration.setResourceLoader(new ClasspathResourceLoader(BeetlConfig.class.getClassLoader(), beetlProperties.getPrefix()));
beetlConfiguration.setConfigProperties(beetlProperties.getProperties());
return beetlConfiguration;
}
Aggregations