ovidiu 2002/10/01 00:34:16
Modified: src/java/org/apache/cocoon/components/flow
InterpreterSelector.java
Log:
Don't read the reload-scripts and check-time parameters here, let the
actual interpreter instances read them.
Revision Changes Path
1.4 +0 -7
xml-cocoon2/src/java/org/apache/cocoon/components/flow/InterpreterSelector.java
Index: InterpreterSelector.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/flow/InterpreterSelector.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- InterpreterSelector.java 17 Aug 2002 01:15:48 -0000 1.3
+++ InterpreterSelector.java 1 Oct 2002 07:34:16 -0000 1.4
@@ -63,8 +63,6 @@
super.configure(config);
defaultLanguage = config.getAttribute("default", null);
- boolean reloadScripts = config.getAttributeAsBoolean("reload-scripts", false);
- long checkTime = config.getAttributeAsLong("check-time", 1000L);
// Finish the initialization of the already created components
Configuration[] configurations = config.getChildren("component-instance");
@@ -82,11 +80,6 @@
catch (ComponentException ex) {
throw new ConfigurationException("Could not find component for hint "
+ hint + ": " + ex.toString());
- }
-
- if (interp instanceof AbstractInterpreter) {
- ((AbstractInterpreter)interp).setReloadScripts(reloadScripts);
- ((AbstractInterpreter)interp).setCheckTime(checkTime);
}
if (i == 0 && defaultLanguage == null)
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]