blob: 14cc2426b04638efcf84e0c960fc3916c2792e8b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
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="policy" class="org.taverna.server.master.mocks.SimpleServerPolicy"
lazy-init="false" scope="singleton">
<property name="maxRuns" value="1">
<description>
Limit on total number of simultaneous runs.
</description>
</property>
<property name="cleanerInterval" value="300">
<description>
Time between trying to delete expired runs, in seconds.
</description>
</property>
</bean>
<bean id="runFactory" class="org.taverna.server.master.mocks.ExampleRun$Builder">
<constructor-arg type="int" value="10" /> <!-- "initialLifetimeMinutes" -->
</bean>
<bean id="runCatalog" scope="singleton"
class="org.taverna.server.master.mocks.SimpleNonpersistentRunStore">
<property name="policy" ref="policy" />
</bean>
<bean id="listenerFactory" class="org.taverna.server.master.mocks.SimpleListenerFactory">
<property name="builders">
<description>
This map describes how to build each type of supported
event listener that is not installed by default. Any site policy for
a listeners should be installed using its properties, as shown. The
"key" is the type, the "class" is the builder for actual instances
(which must be an instance of
org.taverna.server.master.factories.SimpleListenerFactory.Builder)
and any policies and installation-specific configurations are
characterised by properties such as "sitePolicy" below.
</description>
<map>
<!-- <entry key="exampleListener">-->
<!--
<bean
class="org.taverna.server.master.example.ExampleListener$Builder">
-->
<!-- <property name="sitePolicy">-->
<!-- <value>Just an example!</value>-->
<!-- </property>-->
<!-- </bean>-->
<!-- </entry>-->
</map>
</property>
</bean>
</beans>