Class OSGiWebappClassLoader

All Implemented Interfaces:
Closeable, AutoCloseable, ClassVisibilityChecker, org.osgi.framework.BundleReference

public class OSGiWebappClassLoader extends WebAppClassLoader implements org.osgi.framework.BundleReference
OSGiWebappClassLoader Extends the webapp classloader to also use the classloader of the Bundle defining the webapp.
  • Constructor Details

    • OSGiWebappClassLoader

      public OSGiWebappClassLoader(ClassLoader parent, WebAppContext context, org.osgi.framework.Bundle contributor) throws IOException
      Parameters:
      parent - The parent classloader.
      context - The WebAppContext
      contributor - The bundle that defines this web-application.
      Throws:
      IOException - if unable to cerate the OSGiWebappClassLoader
  • Method Details