• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • Last Change
  • Annotate
  • Revision Log

root/trunk/components/blitz/resources/beanRefContext.xml

Revision 2776, 1.7 kB (checked in by jmoore, 4 months ago)

ticket:800 - Beginning work on cleaning config for romio tests

Romio needs to know the value of omero.data.dir, which can be
acquired (usually correctly) in several ways. However, a unified
way of accessing this is needed, and that will be via OmeroContext.

  • Moving ome/services/config-local.xml to common:ome/config.xml
  • Moaving PathUtil back to romio for keeping the romio tests simple
  • Server tests will use the context directly
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.blitz 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="OMERO.blitz"
22          class="ome.system.OmeroContext"
23          lazy-init="true">
24        <constructor-arg index="0">
25      <list>
26        <value>classpath:ome/config.xml</value>
27        <value>classpath:ome/services/messaging.xml</value>
28        <value>classpath:ome/services/throttling/throttling.xml</value>
29        <value>classpath*:ome/services/blitz-*.xml</value>   
30      </list>
31    </constructor-arg>
32    <constructor-arg index="1" value="true"/>
33    <constructor-arg index="2" ref="ome.server"/>
34  </bean>
35
36  <bean    id="OMERO.blitz.test"
37          class="ome.system.OmeroContext"
38          lazy-init="true">
39        <constructor-arg index="0">
40      <list>
41        <value>classpath:ome/config.xml</value>
42        <value>classpath:ome/services/messaging.xml</value>
43        <value>classpath:ome/services/throttling/throttling.xml</value>
44        <value>classpath:omero/test.xml</value>
45        <value>classpath:ome/services/sec-primitives.xml</value>
46        <value>classpath:ome/services/blitz-servantDefinitions.xml</value>
47      </list>
48    </constructor-arg>
49    <constructor-arg index="1" value="true"/>
50  </bean>
51</beans>
Note: See TracBrowser for help on using the browser.

Download in other formats:

  • Plain Text
  • Original Format

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/