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 org.eclipse.jetty.ee.webapp.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 org.eclipse.jetty.ee.webapp.CachingWebAppClassLoader
clearCache, getResource, loadClass, toString
Methods inherited from class org.eclipse.jetty.ee.webapp.WebAppClassLoader
addClassPath, addClassPath, addJars, addTransformer, close, findClass, foundClass, getContext, getName, getPermissions, getResources, isHiddenClass, isProtectedClass, loadAsResource, loadClass, removeTransformer, runWithHiddenClassAccess, setName
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findResource, findResources, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
Methods inherited from class java.lang.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, setSigners
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.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
-
CachingWebAppClassLoader
instead