org.jasig.portal.utils.cache
Class EhCacheModelFactory

java.lang.Object
  extended by 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

Constructor Summary
EhCacheModelFactory()
           
 
Method Summary
 org.springmodules.cache.CachingModel getCachingModel(String cacheName)
           
 org.springmodules.cache.FlushingModel getFlushingModel(String cacheName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhCacheModelFactory

public EhCacheModelFactory()
Method Detail

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.