cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r293457 - in /cocoon/trunk/src/java/org/apache/cocoon: acting/ components/modules/output/
Date Mon, 03 Oct 2005 21:53:17 GMT
Author: danielf
Date: Mon Oct  3 14:52:54 2005
New Revision: 293457

URL: http://svn.apache.org/viewcvs?rev=293457&view=rev
Log:
Should be thread safe.

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/acting/RequestParameterExistsAction.java
    cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeMap.java
    cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeOutputModule.java
    cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/SessionAttributeOutputModule.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/acting/RequestParameterExistsAction.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/acting/RequestParameterExistsAction.java?rev=293457&r1=293456&r2=293457&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/acting/RequestParameterExistsAction.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/acting/RequestParameterExistsAction.java Mon Oct
 3 14:52:54 2005
@@ -22,6 +22,7 @@
 import java.util.StringTokenizer;
 import java.util.Iterator;
 import org.apache.avalon.framework.parameters.Parameters;
+import org.apache.avalon.framework.thread.ThreadSafe;
 import org.apache.cocoon.environment.ObjectModelHelper;
 import org.apache.cocoon.environment.Redirector;
 import org.apache.cocoon.environment.Request;
@@ -49,9 +50,9 @@
  * "name_1" must also exist and vice versa.</p>
  *
  * @author <a href="mailto:haul@apache.org">Christian Haul</a>
- * @version CVS $Id: RequestParameterExistsAction.java,v 1.3 2004/03/05 13:02:43 bdelacretaz
Exp $
+ * @version CVS $Id$
  */
-public class RequestParameterExistsAction extends AbstractConfigurableAction
+public class RequestParameterExistsAction extends AbstractConfigurableAction implements ThreadSafe
 {
 
     protected class StringParts {

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeMap.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeMap.java?rev=293457&r1=293456&r2=293457&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeMap.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeMap.java
Mon Oct  3 14:52:54 2005
@@ -19,6 +19,7 @@
 import java.util.Map;
 
 import org.apache.avalon.framework.configuration.Configuration;
+import org.apache.avalon.framework.thread.ThreadSafe;
 import org.apache.cocoon.environment.ObjectModelHelper;
 import org.apache.cocoon.environment.Request;
 
@@ -30,9 +31,9 @@
  * "org.apache.cocoon.components.modules.output.OutputModule"
  *
  * @author <a href="mailto:haul@apache.org">Christian Haul</a>
- * @version CVS $Id: RequestAttributeMap.java,v 1.3 2004/03/05 13:02:49 bdelacretaz Exp $
+ * @version CVS $Id$
  */
-public class RequestAttributeMap extends AbstractOutputModule implements OutputModule {
+public class RequestAttributeMap extends AbstractOutputModule implements OutputModule, ThreadSafe
{
     
     public final String PREFIX = "org.apache.cocoon.components.modules.output.OutputModule";
     public final String TRANS_PREFIX = "org.apache.cocoon.components.modules.output.OutputModule.RequestAttributeMap.transient";

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeOutputModule.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeOutputModule.java?rev=293457&r1=293456&r2=293457&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeOutputModule.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/RequestAttributeOutputModule.java
Mon Oct  3 14:52:54 2005
@@ -16,6 +16,7 @@
 package org.apache.cocoon.components.modules.output;
 
 import org.apache.avalon.framework.configuration.Configuration;
+import org.apache.avalon.framework.thread.ThreadSafe;
 
 import org.apache.cocoon.environment.ObjectModelHelper;
 import org.apache.cocoon.environment.Request;
@@ -37,7 +38,7 @@
  * @author <a href="mailto:haul@apache.org">Christian Haul</a>
  * @version CVS $Id$
  */
-public class RequestAttributeOutputModule extends AbstractOutputModule implements OutputModule
{
+public class RequestAttributeOutputModule extends AbstractOutputModule implements OutputModule,
ThreadSafe {
 
     public static final String PREFIX = OutputModule.ROLE;
     public static final String TRANS_PREFIX = PREFIX + ".RequestAttributeOutputModule.transient";

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/SessionAttributeOutputModule.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/SessionAttributeOutputModule.java?rev=293457&r1=293456&r2=293457&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/SessionAttributeOutputModule.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/SessionAttributeOutputModule.java
Mon Oct  3 14:52:54 2005
@@ -20,6 +20,7 @@
 import java.util.Map;
 
 import org.apache.avalon.framework.configuration.Configuration;
+import org.apache.avalon.framework.thread.ThreadSafe;
 import org.apache.avalon.framework.logger.Logger;
 import org.apache.cocoon.environment.ObjectModelHelper;
 import org.apache.cocoon.environment.Session;
@@ -36,9 +37,9 @@
  * copied to the final destination.
  *
  * @author <a href="mailto:haul@apache.org">Christian Haul</a>
- * @version CVS $Id: SessionAttributeOutputModule.java,v 1.3 2004/03/05 13:02:49 bdelacretaz
Exp $
+ * @version CVS $Id$
  */
-public class SessionAttributeOutputModule extends AbstractOutputModule implements OutputModule
{
+public class SessionAttributeOutputModule extends AbstractOutputModule implements OutputModule,
ThreadSafe {
     
     public final String PREFIX = "org.apache.cocoon.components.modules.output.OutputModule";
     public final String TRANS_PREFIX = "org.apache.cocoon.components.modules.output.OutputModule.SessionAttributeOutputModule.transient";



Mime
View raw message