cziegeler 01/08/19 23:50:45
Modified: src/org/apache/cocoon/sitemap Manager.java
Log:
Sitemap handler threading patch
Submitted by: Marcus Crafter ([EMAIL PROTECTED])
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:[EMAIL PROTECTED]">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: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]