Terracotta Ehcache 10.1 | Ehcache API Developer Guide | Class Loading | About Class Loading
 
About Class Loading
Since Ehcache is a library and supports user types both in configuration and in mapping keys or values, it must offer flexibility around class loading.
Default ClassLoader in Ehcache
The default ClassLoader from Ehcache will first try to use the thread context class loader, through Thread.currentThread().getContextClassLoader(). In case this fails to load the requested resource, it will then use the ClassLoader that loaded the Ehcache internal classes.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release