cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1483821 - in /cxf/fediz/trunk: ./ plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java
Date Fri, 17 May 2013 14:19:10 GMT
Author: coheigea
Date: Fri May 17 14:19:09 2013
New Revision: 1483821

URL: http://svn.apache.org/r1483821
Log:
Take EhCache TTL from the configuration file

Modified:
    cxf/fediz/trunk/   (props changed)
    cxf/fediz/trunk/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java

Propchange: cxf/fediz/trunk/
------------------------------------------------------------------------------
  Merged /cxf/fediz/branches/1.0.x-fixes:r1483813

Modified: cxf/fediz/trunk/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java
URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java?rev=1483821&r1=1483820&r2=1483821&view=diff
==============================================================================
--- cxf/fediz/trunk/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java
(original)
+++ cxf/fediz/trunk/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java
Fri May 17 14:19:09 2013
@@ -66,6 +66,9 @@ public class EHCacheTokenReplayCache imp
         
         Ehcache newCache = new Cache(cc);
         cache = cacheManager.addCacheIfAbsent(newCache);
+
+        // Set the TimeToLive value from the CacheConfiguration
+        ttl = cc.getTimeToLiveSeconds();
     }
     
     /**



Mime
View raw message