ovidiu      2002/09/24 01:08:32

  Modified:    src/java/org/apache/cocoon/components/flow
                        AbstractInterpreter.java
  Log:
  Make the AbstractInterpreter SingleThreaded, to support multiple
  interpreter component instances which share nothing between them.
  
  Revision  Changes    Path
  1.8       +4 -3      
xml-cocoon2/src/java/org/apache/cocoon/components/flow/AbstractInterpreter.java
  
  Index: AbstractInterpreter.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/flow/AbstractInterpreter.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AbstractInterpreter.java  7 Sep 2002 01:39:30 -0000       1.7
  +++ AbstractInterpreter.java  24 Sep 2002 08:08:32 -0000      1.8
  @@ -59,7 +59,7 @@
   import org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode;
   import org.apache.cocoon.components.source.SourceFactory;
   import org.apache.cocoon.Constants;
  -import org.apache.avalon.framework.thread.ThreadSafe;
  +import org.apache.avalon.framework.thread.SingleThreaded;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
   import org.apache.avalon.framework.context.Contextualizable;
   import org.apache.avalon.framework.context.ContextException;
  @@ -79,7 +79,8 @@
    * @since March 15, 2002
    */
   public abstract class AbstractInterpreter extends AbstractLogEnabled
  -  implements Component, Composable, Contextualizable, Interpreter, ThreadSafe
  +  implements Component, Composable, Contextualizable, Interpreter,
  +  SingleThreaded
   {
     /**
      * List of source locations that need to be resolved.
  @@ -106,7 +107,7 @@
       throws ComponentException
     {
       this.manager = manager;
  -//     System.out.println("AbstractInterpreter: ComponentManager = " + manager);
  +
       // FIXME: Why is the manager null here?
       if (manager != null)
         continuationsMgr
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to