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

.Stripecube.1.19.source-code.app-orm-inc.xml Maven / Gradle / Ivy

There is a newer version: 1.30
Show newest version
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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 id="beanManager" class="com.clickntap.tool.bean.BeanManagerImpl">
		<property name="jdbcManager" ref="jdbcManager" />
		<property name="cacheManager" ref="cacheManager" />
		<property name="scriptEngine" ref="validationScriptEngine" />
	</bean>
	<bean class="com.clickntap.tool.cache.EhCacheManager" id="cacheManager" />
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy