cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r293174 - in /cocoon/trunk/src/java/org/apache/cocoon/components/modules/input: BlockPathModule.java BlockPropertyModule.java EnvironmentAttributeModule.java
Date Sun, 02 Oct 2005 22:00:43 GMT
Author: danielf
Date: Sun Oct  2 15:00:30 2005
New Revision: 293174

URL: http://svn.apache.org/viewcvs?rev=293174&view=rev
Log:
These modules should be ThreadSafe.

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPathModule.java
    cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPropertyModule.java
    cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/EnvironmentAttributeModule.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPathModule.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPathModule.java?rev=293174&r1=293173&r2=293174&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPathModule.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPathModule.java
Sun Oct  2 15:00:30 2005
@@ -23,6 +23,7 @@
 
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.ConfigurationException;
+import org.apache.avalon.framework.thread.ThreadSafe;
 import org.apache.cocoon.components.blocks.Block;
 import org.apache.cocoon.environment.Environment;
 import org.apache.cocoon.environment.internal.BlockEnvironmentHelper;
@@ -31,9 +32,9 @@
 /**
  * BlockPathModule returns the absolute path of a block protocol path.
  *
- * @version $Id:$
+ * @version $Id$
  */
-public class BlockPathModule implements InputModule {
+public class BlockPathModule implements InputModule, ThreadSafe {
 
     public Object getAttribute( String name, Configuration modeConf, Map objectModel )
     throws ConfigurationException {

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPropertyModule.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPropertyModule.java?rev=293174&r1=293173&r2=293174&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPropertyModule.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/BlockPropertyModule.java
Sun Oct  2 15:00:30 2005
@@ -21,14 +21,15 @@
 
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.ConfigurationException;
+import org.apache.avalon.framework.thread.ThreadSafe;
 import org.apache.cocoon.environment.internal.BlockEnvironmentHelper;
 
 /**
  * BlockPropertyModule provides access to the properties of the current block.
  *
- * @version $Id:$
+ * @version $Id$
  */
-public class BlockPropertyModule implements InputModule {
+public class BlockPropertyModule implements InputModule, ThreadSafe {
 
     public Object getAttribute( String name, Configuration modeConf, Map objectModel )
     throws ConfigurationException {

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/EnvironmentAttributeModule.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/EnvironmentAttributeModule.java?rev=293174&r1=293173&r2=293174&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/EnvironmentAttributeModule.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/EnvironmentAttributeModule.java
Sun Oct  2 15:00:30 2005
@@ -21,6 +21,7 @@
 
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.ConfigurationException;
+import org.apache.avalon.framework.thread.ThreadSafe;
 import org.apache.cocoon.environment.internal.EnvironmentHelper;
 
 /**
@@ -29,7 +30,7 @@
  *
  * @version $Id$
  */
-public class EnvironmentAttributeModule implements InputModule {
+public class EnvironmentAttributeModule implements InputModule, ThreadSafe {
 
     public Object getAttribute( String name, Configuration modeConf, Map objectModel )
     throws ConfigurationException {



Mime
View raw message