All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.click_framework.1.189.source-code.app-orm-inc.xml Maven / Gradle / Ivy

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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy