blob: ac788d1b6f59c962a2b1e490af0699dae68f4dcb [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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.apache.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.apache.taverna.server.master.mocks.ExampleRun$Builder">
<constructor-arg type="int" value="10" /> <!-- "initialLifetimeMinutes" -->
</bean>
<bean id="runCatalog" scope="singleton"
class="org.apache.taverna.server.master.mocks.SimpleNonpersistentRunStore">
<property name="policy" ref="policy" />
</bean>
<bean id="listenerFactory" class="org.apache.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.apache.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.apache.taverna.server.master.example.ExampleListener$Builder">
-->
<!-- <property name="sitePolicy">-->
<!-- <value>Just an example!</value>-->
<!-- </property>-->
<!-- </bean>-->
<!-- </entry>-->
</map>
</property>
</bean>
</beans>