org.jasig.portal.utils.cache
Class MapCacheFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean
org.jasig.portal.utils.cache.MapCacheFactoryBean
- All Implemented Interfaces:
- BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean, InitializingBean
public class MapCacheFactoryBean
- extends AbstractFactoryBean
Factory bean that gets a Map cache wrapper from the configured CacheFactory
for the specified cache name. If no name is specified the default cache is used.
- Version:
- $Revision$
- Author:
- Eric Dalquist
| Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapCacheFactoryBean
public MapCacheFactoryBean()
getCacheFactory
public CacheFactory getCacheFactory()
- Returns:
- the cacheFactory
setCacheFactory
public void setCacheFactory(CacheFactory cacheFactory)
- Parameters:
cacheFactory - the cacheFactory to set
getCacheName
public String getCacheName()
- Returns:
- the cacheName
setCacheName
public void setCacheName(String cacheName)
- Parameters:
cacheName - the cacheName to set
createInstance
protected Object createInstance()
throws Exception
- Specified by:
createInstance in class AbstractFactoryBean
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType in interface FactoryBean- Specified by:
getObjectType in class AbstractFactoryBean
Copyright © 2010 Jasig. All Rights Reserved.