org.mule.module.spring.objectstore
Class SpringCacheObjectStore<T extends Serializable>
java.lang.Object
org.mule.module.spring.objectstore.SpringCacheObjectStore<T>
- All Implemented Interfaces:
- ObjectStore<T>
public class SpringCacheObjectStore<T extends Serializable>
- extends Object
- implements ObjectStore<T>
Implements an ObjectStore using Spring module cache.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringCacheObjectStore
public SpringCacheObjectStore()
contains
public boolean contains(Serializable key)
throws ObjectStoreException
- Specified by:
contains in interface ObjectStore<T extends Serializable>
- Throws:
ObjectStoreException
store
public void store(Serializable key,
T value)
throws ObjectStoreException
- Specified by:
store in interface ObjectStore<T extends Serializable>
- Throws:
ObjectStoreException
retrieve
public T retrieve(Serializable key)
throws ObjectStoreException
- Specified by:
retrieve in interface ObjectStore<T extends Serializable>
- Throws:
ObjectStoreException
remove
public T remove(Serializable key)
throws ObjectStoreException
- Specified by:
remove in interface ObjectStore<T extends Serializable>
- Throws:
ObjectStoreException
isPersistent
public boolean isPersistent()
- Specified by:
isPersistent in interface ObjectStore<T extends Serializable>
getCacheProvider
public org.springmodules.cache.provider.CacheProviderFacade getCacheProvider()
setCacheProvider
public void setCacheProvider(org.springmodules.cache.provider.CacheProviderFacade cacheProvider)
getCachingModel
public org.springmodules.cache.CachingModel getCachingModel()
setCachingModel
public void setCachingModel(org.springmodules.cache.CachingModel cachingModel)
Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.