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

Context Navigation

  • Last Change
  • Annotate
  • Revision Log

root/tags/OMERO.insight_3_Beta1/config/container.xml

Revision 4750, 9.5 kB (checked in by jburel, 22 months ago)

Fixed bug collection problem cf ticket#238

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?xml version="1.0" encoding="utf-8"?>
2
3<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 *                     OMERO.insight MASTER CONFIGURATION FILE
5 *
6 * This file specifies the configuration settings for the OMERO.insight runtime
7 * (the Container) and links the available UI components (the Agents) to it. The
8 * configuration entries are organized in the following groups:
9 *
10 * + Services: The runtime services provided by the Container.
11 * + Agents: The UI components that will be loaded at runtime.
12 * + Resources: Icons and fonts used by the widgets that are part of the
13 *              Container.
14 * + Look and Feel: The L&F to use for the whole application.
15 *
16 *
17 * Note that the only entry that needs to be edited *before* launching
18 * OMERO.insight is the URL of the OMERO Data Server (OMERODS) in the Services
19 * group. All other entries can optionally be edited to tweak runtime behavior,
20 * but can in most cases be safely ignored.
21~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
22
23<container>
24   
25  <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26   *
27   * SERVICES
28   *
29   * The runtime services provided by the Container.All entries can
30   * optionally be edited to tweak runtime behavior.
31   *
32  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> 
33  <services>
34 
35   <!-- OMERO Data Server (OMERO) configuration.
36         This entry specifies the hostname and the port to use to connect to
37         OMERO.
38    -->
39    <structuredEntry name="/services/OMERODS" type="OMERODS">
40      <hostName>yourhost</hostName>
41      <port>1099</port>
42    </structuredEntry>
43   
44    <!-- The maximum number of times that the Login Service should attempt
45         to restore a valid link to OMERO server in the background.
46         Non-positive values will be ignored and the internal default will
47         be used instead. -->
48    <entry name="/services/LOGIN/omeds/max-retry" type="integer">10</entry>
49    <!-- The interval, in milliseconds, between each attempt.
50         Non-positive values will be ignored and the internal default will
51         be used instead. -->
52    <entry name="/services/LOGIN/omeds/retry-interval"
53           type="integer">500</entry>
54           
55    <!-- Log Service configuration.
56    -->
57    <!-- Enables/disables the Log Service. -->
58    <entry name="/services/LOG/on" type="boolean">true</entry>
59    <!-- The directory where log files are kept. Path relative to the
60         installation directory. -->
61    <entry name="/services/LOG/dir">log</entry>
62    <!-- The name of the log file -->
63    <entry name="/services/LOG/file">omeroinsight.log</entry>       
64   
65    <!-- Rendering Engine configuration.
66         NOTE: All the following entries for the Rendering Engine will
67                be removed as soon as we move the engine to the server.
68    -->
69    <!-- Maximum size, in Mb, of the image cache in the Rendering Engine.
70          This is a per-image cache which stores planes that have already
71          been rendered and are still valid with respect to the current
72          rendering settings.  Because the Rendering Engine can only process
73          one image at a time, the value you specify here will equal the
74          maximum amount of memory that will be used for caching rendered
75          images at any given time.  If set to 0 or a negative value, then
76          no caching will be done (this dramatically reduces responsiveness
77          though). -->
78    <entry name="/services/RE/cacheSz" type="integer">100</entry>
79    <!-- Maximum number of planes that will be pre-fetched and rendered
80         asynchronously in addition to the plane that has been currently
81         requested.  If set to a positive value n, then separate threads
82         will be spawned to render (at most) n planes that are likely to
83         be requested after the current plane.  If 0 or negative, then no
84         asynchronous rendering will take place.
85         Having asynchronous rendering on usually increses performance and
86         responsiveness.  However, take into account that too a high value
87         can be counterproductive (what is "high" depends on your platform
88         and deployment settings). -->
89    <entry name="/services/RE/maxPreFetch" type="integer">0</entry>
90    <!-- How many Mb should be allocated to the Rendering Engine to cache
91         pixels stacks.  If the size of an image stack exceeds this value
92         then the stack won't be cached.  This will increase the time it
93         takes to render planes within that image stack and will result
94         in an error if 3D rendering is attempted; 3D rendering requires
95         the stack to be in memory. -->
96    <entry name="/services/RE/stackBufSz" type="integer">100</entry>
97    <!-- How many Kb should be fetched at a time when retrieving a stack.
98           Experimental, affects performance and responsiveness.
99         Don't modify this unless you know what you're doing. -->
100    <entry name="/services/RE/stackBlockSz" type="integer">4096</entry> 
101         
102    <!-- Debugger configuration.
103         This entry specifies the name of the server and
104         and e-mail address to submit comment.
105    -->
106<entry name="/services/DEBUGGER/hostnameComment">http://users.openmicroscopy.org.uk/~brain/omero/commentcollector.php</entry>
107<entry name="/services/DEBUGGER/hostnameBug">http://users.openmicroscopy.org.uk/~brain/omero/bugcollector.php</entry>
108<entry name="/services/DEBUGGER/email">comments@openmicroscopy.org.uk</entry>
109  </services>
110 
111 
112  <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113   *
114   * AGENTS
115   *
116   * The UI components that will be loaded at runtime.
117   * This section is mainly used by developers to make their Agents available
118   * to a Shoola instance.  System administrator may decide to remove some of
119   * the Agents in exceptional cases.  (This is easily done by deleting an
120   * agent tag altogheter.)
121   *
122  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
123  <agents>
124    <structuredEntry name="/agents" type="agents">
125     
126      <!-- NOTE FOR DEVELOPERS
127           Add an agent tag for each of your Agents.
128           The name tag specifies the human-readable name of the Agent.
129           The class tag specifies the FQN of the Agent class.
130           The config tag specifies the name of the Agent's configuration file
131           within the config directory.
132      -->
133     <agent>
134        <name>ImViewer</name>
135        <class>org.openmicroscopy.shoola.agents.imviewer.ImViewerAgent</class>
136        <config>imviewer.xml</config>
137      </agent>
138      <agent> 
139        <name>Hierarchy Viewer</name>
140        <class>org.openmicroscopy.shoola.agents.hiviewer.HiViewerAgent</class> 
141        <config>hiviewer.xml</config>
142      </agent> 
143       <agent>
144        <name>Tree Manager</name>
145        <class>org.openmicroscopy.shoola.agents.treeviewer.TreeViewerAgent</class>
146        <config>treeviewer.xml</config>
147    </agent>
148    </structuredEntry>
149  </agents>
150 
151 
152  <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153   *
154   * RESOURCES
155   *
156   * Icons and fonts used by the widgets that are part of the Container.
157   * The iconFactories shouldn't be edited by system administrators, they're
158   * only useful to developers.  The fonts family, size, and style can instead
159   * be tweaked if needed.
160   *
161  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
162  <resources>
163    <iconFactories>
164      <!-- NOTE FOR DEVELOPERS
165           This type of entry can be used in agents' configuration files too.
166           It is turned into an instance of:
167              org.openmicroscopy.shoola.env.config.IconFactory
168           This object can then be used to retrieve any image file within
169           the directory pointed by the location tag.
170      -->
171      <structuredEntry name="/resources/icons/DefaultFactory" type="icons">
172        <!-- The location tag specifies the FQN of the package that contains
173             the icon files. -->
174        <location>org.openmicroscopy.shoola.env.ui.graphx</location>
175      </structuredEntry>
176    </iconFactories>
177    <fonts>
178      <!-- NOTE FOR DEVELOPERS
179           This type of entry can be used in agents' configuration files too.
180           It is turned into an instance of java.awt.Font.
181      --> 
182      <structuredEntry name="/resources/fonts/Titles" type="font">
183        <family>SansSerif</family>
184        <size>12</size>
185        <style>bold</style>
186      </structuredEntry>
187    </fonts>
188  </resources>
189 
190 
191  <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
192   *
193   * LOOK & FEEL
194   *
195   * The L&F to use for the whole application.
196   *
197  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
198  <!-- This entry specifies what Look and Feel to use for the whole application.
199       The default value is system (case insensitive).  This will result in the
200       system's look and feel being loaded - the Mac L&F on Mac OS platforms,
201       the Windows L&F on Microsoft Windows platforms, etc.  Alternatively, you
202       can specify the following:
203          javax.swing.plaf.metal.MetalLookAndFeel: the Java look and feel.
204       
205       If you want to use a custom L&F then you can just drop the L&F jar file
206       into the lib directory and then specify here the fully-qualifed name
207       (FQN) of the L&F class to use - this name can usually be found in the
208       documents accompanying the L&F.
209  -->
210  <entry name="LookAndFeel">system</entry>
211 
212 
213</container>
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/