Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[SM-2109] EhCacheStoreFactory nows extends BaseStoreFactory. Added ge…

…tters and setters for CacheManagerFactory

git-svn-id: https://svn.apache.org/repos/asf/servicemix/utils/trunk@1147024 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit d695455b1cb6306e9bb1b8f3bbd76b0d365d3ddf 1 parent e7533e7
@iocanel iocanel authored
View
12 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 CacheManager getCacheManager() {
public void setCacheManager(CacheManager cacheManager) {
this.cacheManager = cacheManager;
}
+
+ public CacheManagerFactory getCacheManagerFactory() {
+ return cacheManagerFactory;
+ }
+
+ public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory) {
+ this.cacheManagerFactory = cacheManagerFactory;
+ }
}

0 comments on commit d695455

Please sign in to comment.
Something went wrong with that request. Please try again.