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

mfeed-client-spring.1.10.1.source-code.atomFeedClientJdbcContext.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
                             http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">

    <!-- dataSource should be provided by the implementation -->

    <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
        <property name="dataSource" ref="dataSource"/>
    </bean>

    <tx:annotation-driven transaction-manager="transactionManager"/>

    <bean id="jdbcConnectionProvider" class="org.ict4h.atomfeed.client.repository.SpringJdbcConnectionProvider">
        <constructor-arg ref="dataSource"/>
    </bean>

    <bean id="webClient" class="org.ict4h.atomfeed.client.repository.datasource.DefaultHttpClient"/>

    <bean id="allFeeds" class="org.ict4h.atomfeed.client.repository.AllFeeds">
        <constructor-arg type="org.ict4h.atomfeed.client.repository.datasource.DefaultHttpClient" ref="webClient"/>
    </bean>

    <bean id="allMarkers" class="org.ict4h.atomfeed.client.repository.jdbc.AllMarkersJdbcImpl">
        <constructor-arg ref="jdbcConnectionProvider"/>
    </bean>

    <bean id="allFailedEvents" class="org.ict4h.atomfeed.client.repository.jdbc.AllFailedEventsJdbcImpl">
        <constructor-arg ref="jdbcConnectionProvider"/>
    </bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy