Class ExtractingRoot

  • All Implemented Interfaces:, JmxEnabled, Lifecycle, WebResourceRoot

    public class ExtractingRoot
    extends StandardRoot
    If the main resources are packaged as a WAR file then any JARs will be extracted to the work directory and used from there.
    • Constructor Detail

      • ExtractingRoot

        public ExtractingRoot()
    • Method Detail

      • processWebInfLib

        protected void processWebInfLib()
                                 throws LifecycleException
        Description copied from class: StandardRoot
        Class loader resources are handled by treating JARs in WEB-INF/lib as resource JARs (without the internal META-INF/resources/ prefix) mounted at WEB-INF/classes (rather than the web app root). This enables reuse of the resource handling plumbing. These resources are marked as class loader only so they are only used in the methods that are explicitly defined to return class loader resources. This prevents calls to getResource("/WEB-INF/classes") returning from one or more of the JAR files.
        processWebInfLib in class StandardRoot
        LifecycleException - If an error occurs that should stop the web application from starting