ome.services.sessions.state
Class CacheFactory

java.lang.Object
  extended by org.springframework.cache.ehcache.EhCacheFactoryBean
      extended by ome.services.sessions.state.CacheFactory
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.FactoryBean<net.sf.ehcache.Ehcache>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class CacheFactory
extends org.springframework.cache.ehcache.EhCacheFactoryBean
implements org.springframework.context.ApplicationContextAware

Since:
3.0-Beta3
Author:
Josh Moore

Field Summary
 
Fields inherited from class org.springframework.cache.ehcache.EhCacheFactoryBean
logger
 
Constructor Summary
CacheFactory()
           
 
Method Summary
 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(org.springframework.context.ApplicationContext arg0)
           
 void setCacheEventListeners(net.sf.ehcache.event.CacheEventListener[] listeners)
           
 
Methods inherited from class org.springframework.cache.ehcache.EhCacheFactoryBean
afterPropertiesSet, createCache, decorateCache, getObjectType, isSingleton, setBeanName, setBlocking, setBootstrapCacheLoader, setCacheEntryFactory, setCacheEventListeners, setCacheManager, setCacheName, setClearOnFlush, setDiskExpiryThreadIntervalSeconds, setDiskPersistent, setDiskSpoolBufferSize, setEternal, setMaxElementsInMemory, setMaxElementsOnDisk, setMemoryStoreEvictionPolicy, setOverflowToDisk, setTimeToIdle, setTimeToLive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheFactory

public CacheFactory()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext arg0)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

setCacheEventListeners

public void setCacheEventListeners(net.sf.ehcache.event.CacheEventListener[] listeners)

getObject

public net.sf.ehcache.Ehcache getObject()
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<net.sf.ehcache.Ehcache>
Overrides:
getObject in class org.springframework.cache.ehcache.EhCacheFactoryBean

createCache

public net.sf.ehcache.Ehcache createCache(net.sf.ehcache.event.CacheEventListener... listeners)

registerAll

protected void registerAll(net.sf.ehcache.Ehcache cache,
                           net.sf.ehcache.event.CacheEventListener... l)


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.