servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ioca...@apache.org
Subject svn commit: r1147024 - /servicemix/utils/trunk/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java
Date Fri, 15 Jul 2011 08:41:54 GMT
Author: iocanel
Date: Fri Jul 15 08:41:53 2011
New Revision: 1147024

URL: http://svn.apache.org/viewvc?rev=1147024&view=rev
Log:
[SM-2109] EhCacheStoreFactory nows extends BaseStoreFactory. Added getters and setters for
CacheManagerFactory

Modified:
    servicemix/utils/trunk/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java

Modified: servicemix/utils/trunk/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java
URL: http://svn.apache.org/viewvc/servicemix/utils/trunk/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java?rev=1147024&r1=1147023&r2=1147024&view=diff
==============================================================================
--- servicemix/utils/trunk/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java
(original)
+++ servicemix/utils/trunk/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java
Fri Jul 15 08:41:53 2011
@@ -32,12 +32,12 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.servicemix.id.IdGenerator;
 import org.apache.servicemix.store.Store;
-import org.apache.servicemix.store.StoreFactory;
+import org.apache.servicemix.store.base.BaseStoreFactory;
 
 /**
  * @author n.dimos
  */
-public class EhCacheStoreFactory implements StoreFactory {
+public class EhCacheStoreFactory extends BaseStoreFactory{
 
     private static final Log LOG = LogFactory.getLog(EhCacheStoreFactory.class);
 
@@ -90,4 +90,12 @@ public class EhCacheStoreFactory impleme
     public void setCacheManager(CacheManager cacheManager) {
         this.cacheManager = cacheManager;
     }
+    
+    public CacheManagerFactory getCacheManagerFactory() {
+        return cacheManagerFactory;
+    }
+
+    public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory) {
+        this.cacheManagerFactory = cacheManagerFactory;
+    }
 }



Mime
View raw message