.click_framework.1.189.source-code.app-orm-inc.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of click_framework Show documentation
Show all versions of click_framework Show documentation
Java Framework based on Spring Framework, Freemarker and Simplicity
The newest version!
<beans 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-2.0.xsd"> <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"> <property name="driverClass" value="${jdbc.driverClassName}"/> <property name="jdbcUrl" value="${jdbc.url}"/> <property name="user" value="${jdbc.username}"/> <property name="password" value="${jdbc.password}"/> <property name="maxConnectionAge" value="120"/> </bean> <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> <property name="dataSource" ref="dataSource"/> </bean> <bean class="org.springframework.jdbc.core.JdbcTemplate" id="jdbcTemplate"> <property name="dataSource" ref="dataSource"/> </bean> <bean id="jdbcScriptEngine" class="com.clickntap.tool.script.FreemarkerScriptEngine" init-method="start"> </bean> <bean id="validationScriptEngine" class="com.clickntap.tool.script.FreemarkerScriptEngine" init-method="start"> </bean> <bean id="jdbcManager" class="com.clickntap.tool.jdbc.JdbcManager"> <property name="transactionManager" ref="transactionManager"/> <property name="jdbcTemplate" ref="jdbcTemplate"/> <property name="scriptEngine" ref="jdbcScriptEngine"/> <property name="db" value="${jdbc.db}"/> </bean> <bean class="com.clickntap.tool.cache.EhCacheManager" id="cacheManager"/> </beans>