-
Notifications
You must be signed in to change notification settings - Fork 102
/
beanRefContext.xml
140 lines (135 loc) · 6.14 KB
/
beanRefContext.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<description>
Defines the contexts for the Omero Server. Other beanRefFactory.xmls may define
other contexts.
</description>
<bean id="ome.model"
class="org.springframework.context.support.ClassPathXmlApplicationContext"
lazy-init="true">
<constructor-arg index="0">
<list>
<value>classpath:ome/services/messaging.xml</value>
<value>classpath:ome/model.xml</value>
</list>
</constructor-arg>
</bean>
<bean id="ome.datalayer"
class="ome.system.OmeroContext"
lazy-init="true">
<constructor-arg index="0">
<list>
<value>classpath:ome/config.xml</value>
<value>classpath:ome/services/messaging.xml</value>
<value>classpath:ome/services/datalayer.xml</value>
<value>classpath:ome/services/sec-primitives.xml</value>
</list>
</constructor-arg>
<constructor-arg index="1" ref="ome.model"/>
</bean>
<bean id="ome.server"
class="ome.system.OmeroContext"
lazy-init="true">
<constructor-arg index="0">
<list>
<!--
Arranged roughly in stack order, which is to say that beans
from files higher in the list, should not use beans from files
lower in the list.
-->
<value>classpath:ome/config.xml</value>
<value>classpath:ome/services/messaging.xml</value>
<value>classpath:ome/services/checksum.xml</value>
<value>classpath:ome/services/datalayer.xml</value>
<value>classpath*:ome/services/db-*.xml</value>
<value>classpath:ome/services/sec-primitives.xml</value>
<value>classpath:ome/services/hibernate.xml</value>
<value>classpath:ome/services/services.xml</value>
<value>classpath*:ome/services/service-*.xml</value>
<value>classpath:ome/services/sec-system.xml</value>
<value>classpath:ome/services/startup.xml</value>
<!-- Allow user added files -->
<value>classpath*:blitz/*.xml</value>
</list>
</constructor-arg>
<constructor-arg index="1" ref="ome.model"/>
</bean>
<bean id="ome.fulltext"
class="ome.system.OmeroContext"
lazy-init="true">
<constructor-arg index="0">
<list>
<!-- Primary reason for this context -->
<value>classpath:ome/services/indexer.xml</value>
<!--
Similar to ome.server, but includes as few components as
possible to keep the memory overhead and startup time to
a minimum.
-->
<value>classpath:ome/config.xml</value>
<value>classpath:ome/services/messaging.xml</value>
<value>classpath:ome/services/datalayer.xml</value>
<value>classpath*:ome/services/db-*.xml</value>
<value>classpath:ome/services/sec-primitives.xml</value>
<value>classpath:ome/services/hibernate.xml</value>
<value>classpath:ome/services/services.xml</value>
<!-- If we could disable shares here, then it would be possible
to remove admin, ldap, share and possibly more! -->
<value>classpath:ome/services/service-ome.api.IAdmin.xml</value>
<value>classpath:ome/services/service-ome.api.IConfig.xml</value>
<value>classpath:ome/services/service-ome.api.ILdap.xml</value>
<value>classpath:ome/services/service-ome.api.IQuery.xml</value>
<value>classpath:ome/services/service-ome.api.IShare.xml</value>
<value>classpath:ome/services/service-ome.api.ITypes.xml</value>
<value>classpath:ome/services/service-ome.api.IUpdate.xml</value>
<value>classpath:ome/services/service-ome.api.Search.xml</value>
<value>classpath:ome/services/service-ome.io.nio.OriginalFilesService.xml</value>
<value>classpath:ome/services/checksum.xml</value>
<!-- Needed to refresh the session cache -->
<value>classpath:ome/services/service-ome.api.ISession.xml</value>
</list>
</constructor-arg>
<constructor-arg index="1" ref="ome.model"/>
</bean>
<bean id="ome.pixeldata"
class="ome.system.OmeroContext"
lazy-init="true">
<constructor-arg index="0">
<list>
<!-- Primary reason for this context -->
<value>classpath:ome/services/pixeldata.xml</value>
<value>classpath:ome/services/service-ome.io.nio.PixelData.xml</value>
<value>classpath:ome/services/service-ome.io.nio.PixelsService.xml</value>
<!--
Similar to ome.server, but includes as few components as
possible to keep the memory overhead and startup time to
a minimum.
-->
<value>classpath:ome/config.xml</value>
<value>classpath:ome/services/messaging.xml</value>
<value>classpath:ome/services/datalayer.xml</value>
<value>classpath*:ome/services/db-*.xml</value>
<value>classpath:ome/services/sec-primitives.xml</value>
<value>classpath:ome/services/hibernate.xml</value>
<value>classpath:ome/services/services.xml</value>
<!-- If we could disable shares here, then it would be possible
to remove admin, ldap, share and possibly more! -->
<value>classpath:ome/services/service-ome.api.IAdmin.xml</value>
<value>classpath:ome/services/service-ome.api.IConfig.xml</value>
<value>classpath:ome/services/service-ome.api.ILdap.xml</value>
<value>classpath:ome/services/service-ome.api.IQuery.xml</value>
<value>classpath:ome/services/service-ome.api.IShare.xml</value>
<value>classpath:ome/services/service-ome.api.ITypes.xml</value>
<value>classpath:ome/services/service-ome.api.IUpdate.xml</value>
<value>classpath:ome/services/service-ome.api.Search.xml</value>
<value>classpath:ome/services/service-ome.io.nio.OriginalFilesService.xml</value>
<value>classpath:ome/services/checksum.xml</value>
<!-- Needed to refresh the session cache -->
<value>classpath:ome/services/service-ome.api.ISession.xml</value>
</list>
</constructor-arg>
<constructor-arg index="1" ref="ome.model"/>
</bean>
</beans>