spring-framework / org.springframework.cache.ehcache / EhCacheManagerFactoryBean / setConfigLocation

setConfigLocation

open fun setConfigLocation(configLocation: Resource): Unit

Set the location of the EhCache config file. A typical value is "/WEB-INF/ehcache.xml".

Default is "ehcache.xml" in the root of the class path, or if not found, "ehcache-failsafe.xml" in the EhCache jar (default EhCache initialization).

See Also
net.sf.ehcache.CacheManager#create(java.io.InputStream)net.sf.ehcache.CacheManager#CacheManager(java.io.InputStream)