Class CachingWebAppClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.eclipse.jetty.ee.webapp.WebAppClassLoader
org.eclipse.jetty.ee.webapp.CachingWebAppClassLoader
org.eclipse.jetty.ee9.webapp.CachingWebAppClassLoader
- All Implemented Interfaces:
 Closeable, AutoCloseable, ClassVisibilityChecker
@Deprecated(since="12.1.0",
            forRemoval=true)
public class CachingWebAppClassLoader
extends CachingWebAppClassLoader
Deprecated, for removal: This API element is subject to removal in a future version.
A WebAppClassLoader that caches 
CachingWebAppClassLoader.getResource(String) results.
Specifically this ClassLoader caches not found classes and resources,
which can greatly increase performance for applications that search
for resources.- 
Nested Class Summary
Nested classes/interfaces inherited from class WebAppClassLoader
WebAppClassLoader.Context - 
Constructor Summary
ConstructorsConstructorDescriptionCachingWebAppClassLoader(ClassLoader parent, WebAppClassLoader.Context context) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version. - 
Method Summary
Methods inherited from class CachingWebAppClassLoader
clearCache, getResource, loadClass, toStringMethods inherited from class WebAppClassLoader
addClassPath, addClassPath, addJars, addTransformer, close, findClass, foundClass, getContext, getName, getPermissions, getResources, isHiddenClass, isProtectedClass, loadAsResource, loadClass, removeTransformer, runWithHiddenClassAccess, setNameMethods inherited from class URLClassLoader
addURL, definePackage, findResource, findResources, getResourceAsStream, getURLs, newInstance, newInstanceMethods inherited from class SecureClassLoader
defineClass, defineClassMethods inherited from class ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getPackage, getPackages, getParent, getPlatformClassLoader, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ClassVisibilityChecker
isServerClass, isSystemClass 
- 
Constructor Details
- 
CachingWebAppClassLoader
public CachingWebAppClassLoader(ClassLoader parent, WebAppClassLoader.Context context) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 IOException
 - 
CachingWebAppClassLoader
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 IOException
 
 - 
 
CachingWebAppClassLoaderinstead