play-mods.spring.dust.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:context="http://www.springframework.org/schema/context"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns="http://www.springframework.org/schema/beans"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://www.springframework.org/schema/context
                           http://www.springframework.org/schema/context/spring-context.xsd">
  <context:component-scan base-package="me.tfeng.playmods.dust" />
  <bean id="play-mods.dust.engine-pool" class="me.tfeng.toolbox.dust.JsEnginePool">
    <property name="engineType" value="${play-mods.dust.engine-type:NASHORN}" />
    <property name="nodePath" value="${play-mods.dust.node-path:/opt/local/bin/node}" />
    <property name="size" value="${play-mods.dust.engine-pool-size:5}" />
    <property name="templatePath" value="${play-mods.dust.templates-path:templates}" />
  </bean>
</beans>
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy