org.apache.servicemix.store.ehcache
Class EhCacheStoreFactory

java.lang.Object
  extended by org.apache.servicemix.store.base.BaseStoreFactory
      extended by org.apache.servicemix.store.ehcache.EhCacheStoreFactory
All Implemented Interfaces:
StoreFactory

public class EhCacheStoreFactory
extends BaseStoreFactory

Author:
n.dimos

Field Summary
protected  IdGenerator idGenerator
           
 
Fields inherited from class org.apache.servicemix.store.base.BaseStoreFactory
storeListeners
 
Constructor Summary
EhCacheStoreFactory()
           
 
Method Summary
 void close(Store store)
          Closes a Store with the specified name,
 net.sf.ehcache.CacheManager getCacheManager()
           
 CacheManagerFactory getCacheManagerFactory()
           
 IdGenerator getIdGenerator()
           
 Store open(java.lang.String name)
          Opens a Store with the specified name.
 void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
           
 void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory)
           
 void setIdGenerator(IdGenerator idGenerator)
           
 
Methods inherited from class org.apache.servicemix.store.base.BaseStoreFactory
getStoreListeners, setStoreListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idGenerator

protected IdGenerator idGenerator
Constructor Detail

EhCacheStoreFactory

public EhCacheStoreFactory()
Method Detail

open

public Store open(java.lang.String name)
           throws java.io.IOException
Description copied from interface: StoreFactory
Opens a Store with the specified name.

Returns:
Throws:
java.io.IOException

close

public void close(Store store)
           throws java.io.IOException
Description copied from interface: StoreFactory
Closes a Store with the specified name,

Throws:
java.io.IOException

getIdGenerator

public IdGenerator getIdGenerator()

setIdGenerator

public void setIdGenerator(IdGenerator idGenerator)

getCacheManager

public net.sf.ehcache.CacheManager getCacheManager()

setCacheManager

public void setCacheManager(net.sf.ehcache.CacheManager cacheManager)

getCacheManagerFactory

public CacheManagerFactory getCacheManagerFactory()

setCacheManagerFactory

public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory)


Copyright © 2005-2011 FuseSource. All Rights Reserved.