org.jasig.portal.concurrency.caching
Class CacheFactoryEntityCachingService
java.lang.Object
org.jasig.portal.concurrency.caching.AbstractEntityCachingService
org.jasig.portal.concurrency.caching.CacheFactoryEntityCachingService
- All Implemented Interfaces:
- IEntityCachingService
public class CacheFactoryEntityCachingService
- extends AbstractEntityCachingService
Creates MapBackedEntityCache instances that wrap Map caches retrieved from the CacheFactory
service.
- Version:
- $Revision$
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheFactoryEntityCachingService
public CacheFactoryEntityCachingService()
getCacheFactory
public CacheFactory getCacheFactory()
- Returns:
- the cacheFactory
setCacheFactory
public void setCacheFactory(CacheFactory cacheFactory)
- Parameters:
cacheFactory - the cacheFactory to set
getCache
protected IEntityCache getCache(Class<? extends IBasicEntity> entityType)
throws CachingException
- Description copied from class:
AbstractEntityCachingService
- Retrieves the
IEntityCache to store the specified entityType in.
- Specified by:
getCache in class AbstractEntityCachingService
- Parameters:
entityType - The type to retrieve the cache for
- Returns:
- The cache for the specified type, should never be null.
- Throws:
CachingException - If no cache can be found/created for the specified entityType.
Copyright © 2010 Jasig. All Rights Reserved.