• 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/Shoola_3.0_M3/config/container.xml

Revision 4403, 9.3 kB (checked in by jburel, 2 years ago)

increase number of login attempts

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