blob: 3033fb409799eea4d923b619abd0c8e1b75f2e60 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!-- Context providing a full ReferenceService backed by in-memory Dao implementations -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:raven="http://taverna.sf.net/schema/artifact-support"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://taverna.sf.net/schema/artifact-support
http://taverna.sf.net/schema/artifact-support/artifact-support.xsd">
<!-- Reference service bean -->
<bean id="t2reference.service.referenceService"
raven:artifact="net.sf.taverna.t2.core:reference-impl:1.1"
raven:repository="raven.repository"
class="net.sf.taverna.t2.reference.impl.ReferenceServiceImpl">
<property name="referenceSetService">
<ref bean="t2reference.service.referenceSetService" />
</property>
<property name="listService">
<ref bean="t2reference.service.listService" />
</property>
<property name="errorDocumentService">
<ref bean="t2reference.service.errorDocumentService" />
</property>
<property name="converterRegistry">
<bean id="converterRegistry"
class="net.sf.taverna.platform.spring.InstanceRegistryFactoryBean">
<property name="spiRegistry">
<bean
class="net.sf.taverna.platform.spring.SpiRegistryFactoryBean">
<property name="repository">
<ref bean="raven.repository" />
</property>
<property name="spiClassName"
value="net.sf.taverna.t2.reference.ValueToReferenceConverterSPI" />
</bean>
</property>
</bean>
</property>
<property name="valueBuilderRegistry">
<bean
class="net.sf.taverna.platform.spring.InstanceRegistryFactoryBean">
<property name="spiRegistry">
<bean
class="net.sf.taverna.platform.spring.SpiRegistryFactoryBean">
<property name="repository">
<ref bean="raven.repository" />
</property>
<property name="spiClassName"
value="net.sf.taverna.t2.reference.StreamToValueConverterSPI" />
</bean>
</property>
</bean>
</property>
</bean>
</beans>