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.ee11.webapp.CachingWebAppClassLoader
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.util.ClassVisibilityChecker

@Deprecated(since="12.1.0", forRemoval=true) public class CachingWebAppClassLoader extends org.eclipse.jetty.ee.webapp.CachingWebAppClassLoader
Deprecated, for removal: This API element is subject to removal in a future version.
use core CachingWebAppClassLoader instead
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.
  • Constructor Details

    • CachingWebAppClassLoader

      public CachingWebAppClassLoader(ClassLoader parent, org.eclipse.jetty.ee.webapp.WebAppClassLoader.Context context) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • CachingWebAppClassLoader

      public CachingWebAppClassLoader(org.eclipse.jetty.ee.webapp.WebAppClassLoader.Context context) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException