Package ubic.gemma.persistence.cache
Class EhcacheConfig
java.lang.Object
ubic.gemma.persistence.cache.EhcacheConfig
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EhcacheConfig
public EhcacheConfig()
-
-
Method Details
-
ehcache
@Bean public org.springframework.beans.factory.FactoryBean<net.sf.ehcache.CacheManager> ehcache(@Value("${gemma.cache.dir}") String gemmaCacheDir) The ehcache.xml assume that-Dehcache.disk.store.dir
is set. If not set explicitly as a JVM option, we retrieve the value from thegemma.cache.dir
configuration.The Ehcache cache manager is shared so that it can be reused by Hibernate.
This definition is also reused by gsec.
-