-
Notifications
You must be signed in to change notification settings - Fork 100
/
service-scripts.xml
45 lines (41 loc) · 1.98 KB
/
service-scripts.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!--
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright 2016 Glencoe Software, Inc. All rights reserved.
# Use is subject to license terms supplied in LICENSE.txt
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Written by: Jean-Marie Burel, j dot burel at dundee dot ac dot uk
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-->
<beans>
<bean id="scriptRepoHelper" class="ome.services.scripts.ScriptRepoHelper" depends-on="sessionManager">
<constructor-arg ref="executor"/>
<constructor-arg ref="roles"/>
<constructor-arg ref="uuid"/>
</bean>
<bean id="PythonScripts" class="ome.services.scripts.ScriptFileType">
<constructor-arg index="0" value="*.py"/>
<constructor-arg index="1" value="text/x-python"/>
<constructor-arg index="2" value="${omero.launcher.python}"/>
<constructor-arg index="3" value="${omero.process.python}"/>
</bean>
<bean id="JythonScripts" class="ome.services.scripts.ScriptFileType">
<constructor-arg index="0" value="*.jy"/>
<constructor-arg index="1" value="text/x-jython"/>
<constructor-arg index="2" value="${omero.launcher.jython}"/>
<constructor-arg index="3" value="${omero.process.jython}"/>
</bean>
<bean id="MatlabScripts" class="ome.services.scripts.ScriptFileType">
<constructor-arg index="0" value="*.m"/>
<constructor-arg index="1" value="text/x-matlab"/>
<constructor-arg index="2" value="${omero.launcher.matlab}"/>
<constructor-arg index="3" value="${omero.process.matlab}"/>
</bean>
<bean id="LUTScripts" class="ome.services.scripts.ScriptFileType">
<constructor-arg index="0" value="*.lut"/>
<constructor-arg index="1" value="text/x-lut"/>
</bean>
</beans>