You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2001/08/20 08:50:45 UTC

cvs commit: xml-cocoon2/src/org/apache/cocoon/sitemap Manager.java

cziegeler    01/08/19 23:50:45

  Modified:    src/org/apache/cocoon/sitemap Manager.java
  Log:
  Sitemap handler threading patch
  Submitted by: Marcus Crafter (Marcus.Crafter@osa.de)
  
  Revision  Changes    Path
  1.8       +3 -3      xml-cocoon2/src/org/apache/cocoon/sitemap/Manager.java
  
  Index: Manager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/sitemap/Manager.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Manager.java	2001/07/12 12:28:19	1.7
  +++ Manager.java	2001/08/20 06:50:45	1.8
  @@ -34,7 +34,7 @@
    * checking regeneration of the sub <code>Sitemap</code>
    *
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
  - * @version CVS $Revision: 1.7 $ $Date: 2001/07/12 12:28:19 $
  + * @version CVS $Revision: 1.8 $ $Date: 2001/08/20 06:50:45 $
    */
   public class Manager extends AbstractLoggable implements Component, Configurable, Composable, Contextualizable, ThreadSafe {
       private Context context;
  @@ -50,7 +50,7 @@
   
       /** The sitemap role manager */
       private RoleManager sitemapRoles;
  -    
  +
       /** The log file path */
       private String logFilePath;
   
  @@ -151,7 +151,7 @@
       }
       */
   
  -    private Handler getHandler(final ComponentManager newManager, final Environment environment, final String source, final boolean check_reload,
  +    private synchronized Handler getHandler(final ComponentManager newManager, final Environment environment, final String source, final boolean check_reload,
           final boolean reload_asynchron) throws Exception {
               Handler sitemapHandler = (Handler)sitemaps.get(source);
               if (sitemapHandler != null) {
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org