org.jasig.portal.utils.cache
Class CacheFactoryLocator

java.lang.Object
  extended by org.jasig.portal.utils.cache.CacheFactoryLocator

public class CacheFactoryLocator
extends java.lang.Object

Convenience locator class for locating the CacheFactory without each class needing the cache factory to do the lookup in the application context.

Since:
2.5
Version:
$Revision: 1.1 $ $Date: 2005/04/18 19:35:36 $
Author:
Scott Battaglia
See Also:
CacheFactory

Field Summary
private static java.lang.String CACHE_FACTORY_BEAN
          String name of the CacheFactory we wish to retrieve.
private static CacheFactory cacheFactory
          Single instance of the cache factory that uPortal will use.
 
Constructor Summary
CacheFactoryLocator()
           
 
Method Summary
static CacheFactory getCacheFactory()
          Method to retrieve the cache factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_FACTORY_BEAN

private static final java.lang.String CACHE_FACTORY_BEAN
String name of the CacheFactory we wish to retrieve.

See Also:
Constant Field Values

cacheFactory

private static final CacheFactory cacheFactory
Single instance of the cache factory that uPortal will use.

Constructor Detail

CacheFactoryLocator

public CacheFactoryLocator()
Method Detail

getCacheFactory

public static final CacheFactory getCacheFactory()
Method to retrieve the cache factory

Returns:
the cache factory.