[SM-2109] EhCacheStoreFactory nows extends BaseStoreFactory. Added getters and setters for CacheManagerFactory

git-svn-id: https://svn.apache.org/repos/asf/servicemix/utils/trunk@1147024 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java b/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java
index efbbcdd..ea41750 100644
--- a/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java
+++ b/src/main/java/org/apache/servicemix/store/ehcache/EhCacheStoreFactory.java
@@ -32,12 +32,12 @@
 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 void setCacheManager(CacheManager cacheManager) {
         this.cacheManager = cacheManager;
     }
+    
+    public CacheManagerFactory getCacheManagerFactory() {
+        return cacheManagerFactory;
+    }
+
+    public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory) {
+        this.cacheManagerFactory = cacheManagerFactory;
+    }
 }