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

ru.taskurotta.recipes.parallel.RuntimeBeans.xml Maven / Gradle / Ivy

<?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: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">

    <context:annotation-config/>

    <bean id="runtimeProvider" class="ru.taskurotta.RuntimeProviderManager" factory-method="getRuntimeProvider"/>

    <bean id="piWorker" class="ru.taskurotta.recipes.parallel.workers.PiWorkerImpl"/>

    <bean id="piDecider" class="ru.taskurotta.recipes.parallel.decider.PiDeciderImpl">
        <property name="piWorker">
            <bean class="ru.taskurotta.ProxyFactory" factory-method="getWorkerClient">
                <constructor-arg value="ru.taskurotta.recipes.parallel.workers.PiWorkerClient"/>
            </bean>
        </property>
        <property name="asynchronous">
            <bean class="ru.taskurotta.ProxyFactory" factory-method="getAsynchronousClient">
                <constructor-arg value="ru.taskurotta.recipes.parallel.decider.PiDeciderImpl"/>
            </bean>
        </property>
    </bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy