cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp XSPProcessor.java
Date Fri, 21 Jul 2000 20:10:55 GMT
stefano     00/07/21 13:10:54

  Modified:    src/org/apache/cocoon/processor/xsp XSPProcessor.java
  Log:
  There should be no Turbine direct dipendency here!
  
  Revision  Changes    Path
  1.24      +5 -5      xml-cocoon/src/org/apache/cocoon/processor/xsp/XSPProcessor.java
  
  Index: XSPProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/XSPProcessor.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- XSPProcessor.java	2000/07/20 00:16:22	1.23
  +++ XSPProcessor.java	2000/07/21 20:10:50	1.24
  @@ -1,4 +1,4 @@
  -/*-- $Id: XSPProcessor.java,v 1.23 2000/07/20 00:16:22 stefano Exp $ --
  +/*-- $Id: XSPProcessor.java,v 1.24 2000/07/21 20:10:50 stefano Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -71,13 +71,14 @@
   
   import org.apache.cocoon.processor.xsp.language.*;
   
  +// (SM) there should not be direct dependency on Turbine!!!!
   import org.apache.turbine.services.resources.TurbineResourceService;
   
   /**
    * This class implements the XSP engine.
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version $Revision: 1.23 $ $Date: 2000/07/20 00:16:22 $
  + * @version $Revision: 1.24 $ $Date: 2000/07/21 20:10:50 $
    */
   public class XSPProcessor extends AbstractActor
     implements Processor, Configurable, Status
  @@ -265,11 +266,10 @@
         this.byNamespace.put(namespace, byLanguage);
       }
       
  -    // Load connection pool information
  -    // Load namespace-mapped logicsheets
       Configurations poolConf = conf.getConfigurations("pool");
       Properties poolProperties = poolConf.getProperties();
  -    
  +    poolProperties.put("services.TurbineResourceService.classname", "org.apache.turbine.services.resources.TurbineResourceService");
  +
   /*
       Enumeration en = poolConf.keys();
       
  
  
  

Mime
View raw message