org.jasig.portal.utils.cache
Class EhCacheModelFactory
java.lang.Object
org.jasig.portal.utils.cache.EhCacheModelFactory
- All Implemented Interfaces:
- ICacheModelFactory
public class EhCacheModelFactory
- extends Object
- implements ICacheModelFactory
Creates EhCacheCachingModel and EhCacheFlushingModel using the specified cacheName
to name the model.
- Version:
- $Revision$
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhCacheModelFactory
public EhCacheModelFactory()
getCachingModel
public org.springmodules.cache.CachingModel getCachingModel(String cacheName)
- Specified by:
getCachingModel in interface ICacheModelFactory
- Parameters:
cacheName - The name of the cache this model will be for
- Returns:
- The appropriate model to use for the named cache.
getFlushingModel
public org.springmodules.cache.FlushingModel getFlushingModel(String cacheName)
- Specified by:
getFlushingModel in interface ICacheModelFactory
- Parameters:
cacheName - The name of the cache this model will be for
- Returns:
- The appropriate model to use for the named cache.
Copyright © 2010 Jasig. All Rights Reserved.