Skip to content
Snippets Groups Projects
screening-plugin-applicationContext.xml 1.47 KiB
<?xml version="1.0" encoding="UTF-8"?>
<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-2.5.xsd
                        http://www.springframework.org/schema/tx
                        http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">

    <bean id="dss-based-data-source-provider" class="ch.systemsx.cisd.openbis.generic.server.dataaccess.DataStoreServerBasedDataSourceProvider">
        <constructor-arg ref="dao-factory"/>
    </bean>
    
    <bean id="screening-dao-factory"
          class="ch.systemsx.cisd.openbis.plugin.screening.server.dataaccess.db.ScreeningDAOFactory">
        <constructor-arg ref="dss-based-data-source-provider"/>
    </bean>
        
    <!--
        //Mail Client Parameters
    -->
    <bean id="mail-client-parameters" class="ch.systemsx.cisd.common.mail.MailClientParameters">
        <property name="from" value="${mail.from}"/>
        <property name="smtpHost" value="${mail.smtp.host}"/>
        <property name="smtpUser" value="${mail.smtp.user}"/>
        <property name="smtpPassword" value="${mail.smtp.password}"/>
    </bean>
    
    <bean id="objectMapper" class="ch.systemsx.cisd.openbis.plugin.screening.shared.api.json.ScreeningObjectMapper">
    </bean>
    
</beans>