ovidiu 2003/01/08 21:42:49
Modified: src/java/org/apache/cocoon/components/flow flow.xconf
Log:
Added configuration for the continuations expiration scheduler. Documented the
elements and their attributes.
Revision Changes Path
1.5 +37 -7
xml-cocoon2/src/java/org/apache/cocoon/components/flow/flow.xconf
Index: flow.xconf
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/flow/flow.xconf,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- flow.xconf 7 Dec 2002 21:53:57 -0000 1.4
+++ flow.xconf 9 Jan 2003 05:42:49 -0000 1.5
@@ -5,6 +5,10 @@
<!-- Flow interpreter support.
+ The <flow-interpreters> element is used to describe the flowscript
+ engines usedd by the current instance. Currently JavaScript is the
+ only flowscript engine available.
+
The attributes recognized by the <flow-interpreters> element are:
default (string value):
@@ -15,6 +19,16 @@
<flow-interpreters> element is assumed to be the default
language.
+ Within <flow-interpreters> only <component-instance> elements are
+ recognized. The attributes recognized by this element are "name"
+ and "class". "name" specifies the name of a scripting language,
+ and "class" defines the Java class that implements it. See
+ org.apache.cocoon.components.flow.Interpreter for the Cocoon
+ interface with an scripting language interpreter.
+
+ A <component-instance> element contains as subelements the
+ following elements:
+
reload-scripts (boolean value, default false):
whether to check if the scripts source files are
@@ -31,12 +45,10 @@
time in miliseconds between the checks for the last
modification date of script files.
- Within <flow-interpreters> only <component-instance> elements are
- recognized. The attributes recognized by this element are "name"
- and "class". "name" specifies the name of a scripting language,
- and "class" defines the Java class that implements it. See
- org.apache.cocoon.components.flow.Interpreter for the Cocoon
- interface with an scripting language interpreter.
+ debugger (boolean value, default false):
+
+ whether support for the JavaScript debugger should be enabled
+ in the control flow.
-->
@@ -65,6 +77,24 @@
</flow-interpreters>
- <continuations logger="flow" time-to-live="3600"/>
+ <!--
+ Configuration for the continuations manager.
+
+ This section specifies the default time-to-live of continuations
+ in miliseconds using the "time-to-live" attribute of
+ the <continuations-manager> element.
+
+ The <expirations-check> element specifies different policies for
+ expiring continuations. Currently only the "periodic" type is
+ supported.
+
+ -->
+
+ <continuations-manager logger="flow" time-to-live="3600000">
+ <expirations-check type="periodic">
+ <offset>180000</offset>
+ <period>180000</period>
+ </expirations-check>
+ </continuations-manager>
</xconf>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]