root/trunk/components/server/resources/beanRefContext.xml
| Revision 2776, 2.0 kB (checked in by jmoore, 4 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" |
| 3 | "http://www.springframework.org/dtd/spring-beans.dtd"> |
| 4 | <beans> |
| 5 | <description> |
| 6 | Defines the contexts for the Omero Server. Other beanRefFactory.xmls may define |
| 7 | other contexts. |
| 8 | </description> |
| 9 | |
| 10 | <bean id="placeholderConfig" |
| 11 | class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> |
| 12 | <property name="ignoreResourceNotFound" value="true"/> |
| 13 | <property name="locations"> |
| 14 | <list> |
| 15 | <value>hibernate.properties</value> |
| 16 | <value>omero.properties</value> |
| 17 | </list> |
| 18 | </property> |
| 19 | </bean> |
| 20 | |
| 21 | <bean id="ome.model" |
| 22 | class="org.springframework.context.support.ClassPathXmlApplicationContext" |
| 23 | lazy-init="true"> |
| 24 | <constructor-arg index="0"> |
| 25 | <list> |
| 26 | <value>classpath:ome/services/messaging.xml</value> |
| 27 | <value>classpath:ome/model.xml</value> |
| 28 | </list> |
| 29 | </constructor-arg> |
| 30 | </bean> |
| 31 | |
| 32 | <bean id="ome.server" |
| 33 | class="ome.system.OmeroContext" |
| 34 | lazy-init="true"> |
| 35 | <constructor-arg index="0"> |
| 36 | <list> |
| 37 | <!-- |
| 38 | Arranged roughly in stack order, which is to say that beans |
| 39 | from files higher in the list, should not use beans from files |
| 40 | lower in the list. |
| 41 | --> |
| 42 | <value>classpath:ome/config.xml</value> |
| 43 | <value>classpath:ome/services/messaging.xml</value> |
| 44 | <value>classpath:ome/services/datalayer.xml</value> |
| 45 | <value>classpath:ome/services/sec-primitives.xml</value> |
| 46 | <value>classpath:ome/services/hibernate.xml</value> |
| 47 | <value>classpath:ome/services/services.xml</value> |
| 48 | <value>classpath*:ome/services/service-*.xml</value> |
| 49 | <value>classpath:ome/services/sec-system.xml</value> |
| 50 | </list> |
| 51 | </constructor-arg> |
| 52 | <constructor-arg index="1" ref="ome.model"/> |
| 53 | </bean> |
| 54 | |
| 55 | </beans> |
Note: See TracBrowser
for help on using the browser.
