cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r700426 - in /cocoon/cocoon3/trunk: cocoon-docs/src/changes/ cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/
Date Tue, 30 Sep 2008 12:04:28 GMT
Author: reinhard
Date: Tue Sep 30 05:04:27 2008
New Revision: 700426

URL: http://svn.apache.org/viewvc?rev=700426&view=rev
Log:
The interfaces CacheKey and CacheValue have to extend the java.io.Serializeable interface
in order to work with persistent cache implementations (e.g. EHCache).

Modified:
    cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheKey.java
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheValue.java
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/PipelineCache.java

Modified: cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml?rev=700426&r1=700425&r2=700426&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml Tue Sep 30 05:04:27 2008
@@ -25,6 +25,9 @@
 <document>
   <body>
     <release version="3.0.0-alpha-2-SNAPSHOT" date="2008-00-00" description="unreleased">
+      <action dev="reinhard" type="fix">[cocoon-pipeline] The interfaces CacheKey and
CacheValue 
+        have to extend the java.io.Serializeable interface in order to work with persistent
cache
+        implementations (e.g. EHCache).</action>
       <action dev="reinhard" type="fix">[cocoon-sitemap] Make junit-addons a test dependency.</action>
     </release>
     <release version="3.0.0-alpha-1" date="2008-00-00" description="unreleased">

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheKey.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheKey.java?rev=700426&r1=700425&r2=700426&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheKey.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheKey.java
Tue Sep 30 05:04:27 2008
@@ -18,7 +18,9 @@
  */
 package org.apache.cocoon.pipeline.caching;
 
-public interface CacheKey {
+import java.io.Serializable;
+
+public interface CacheKey extends Serializable {
 
     boolean isValid(CacheKey cacheKey);
 

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheValue.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheValue.java?rev=700426&r1=700425&r2=700426&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheValue.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CacheValue.java
Tue Sep 30 05:04:27 2008
@@ -20,8 +20,9 @@
 
 import java.io.IOException;
 import java.io.OutputStream;
+import java.io.Serializable;
 
-public interface CacheValue {
+public interface CacheValue extends Serializable {
 
     boolean isValid(CacheKey cacheKey);
 

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/PipelineCache.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/PipelineCache.java?rev=700426&r1=700425&r2=700426&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/PipelineCache.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/PipelineCache.java
Tue Sep 30 05:04:27 2008
@@ -23,5 +23,4 @@
     void put(CacheKey pipelineCacheKey, CacheValue pipelineCacheValue);
 
     CacheValue get(CacheKey currentPipelineCacheKey);
-
 }



Mime
View raw message