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

spring.spring-dspace-addon-sherpa-services.xml Maven / Gradle / Ivy

There is a newer version: 8.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--

    The contents of this file are subject to the license and copyright
    detailed in the LICENSE and NOTICE files at the root of the source
    tree and available online at

    http://www.dspace.org/license/

-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context.xsd"
       default-autowire-candidates="*Service,*DAO,javax.sql.DataSource">

    <context:annotation-config/> <!-- allows us to use spring annotations in beans -->

    <bean class="org.dspace.app.sherpa.SHERPAService" id="org.dspace.app.sherpa.SHERPAService">
        <property name="maxNumberOfTries" value="3"/>
        <property name="sleepBetweenTimeouts" value="2000"/>
        <property name="timeout" value="5000"/>
    </bean>


    <bean class="org.dspace.app.sherpa.submit.SHERPASubmitService"
          id="org.dspace.app.sherpa.submit.SHERPASubmitService">
        <property name="sherpaService" ref="org.dspace.app.sherpa.SHERPAService"/>
        <property name="configuration" ref="org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService"/>
    </bean>
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy