public class CacheFactory extends EhCacheFactoryBean implements ApplicationContextAware
logger
Constructor and Description |
---|
CacheFactory() |
Modifier and Type | Method and Description |
---|---|
net.sf.ehcache.Ehcache |
createCache(net.sf.ehcache.event.CacheEventListener... listeners) |
net.sf.ehcache.Ehcache |
getObject() |
protected void |
registerAll(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.event.CacheEventListener... l) |
void |
setApplicationContext(ApplicationContext arg0) |
void |
setCacheEventListeners(net.sf.ehcache.event.CacheEventListener[] listeners) |
afterPropertiesSet, createCache, decorateCache, getObjectType, isSingleton, setBeanName, setBlocking, setBootstrapCacheLoader, setCacheEntryFactory, setCacheEventListeners, setCacheManager, setCacheName, setClearOnFlush, setDiskExpiryThreadIntervalSeconds, setDiskPersistent, setDiskSpoolBufferSize, setEternal, setMaxElementsInMemory, setMaxElementsOnDisk, setMemoryStoreEvictionPolicy, setOverflowToDisk, setTimeToIdle, setTimeToLive
public void setApplicationContext(ApplicationContext arg0) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public void setCacheEventListeners(net.sf.ehcache.event.CacheEventListener[] listeners)
public net.sf.ehcache.Ehcache getObject()
getObject
in interface FactoryBean<net.sf.ehcache.Ehcache>
getObject
in class EhCacheFactoryBean
public net.sf.ehcache.Ehcache createCache(net.sf.ehcache.event.CacheEventListener... listeners)
protected void registerAll(net.sf.ehcache.Ehcache cache, net.sf.ehcache.event.CacheEventListener... l)
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.