Package org.apache.tomcat.util.scan


package org.apache.tomcat.util.scan

This package contains the common classes used to perform configuration scanning for Catalina and Jasper.

  • Classes
    Class
    Description
    Base implementation of Jar for implementations that use a JarInputStream to access the JAR file.
    String constants for the scan package.
    Provide a mechanism to obtain objects that implement Jar.
    Implementation of Jar that is optimised for file based JAR URLs that refer directly to a JAR file (e.g URLs of the form jar:file: ... .jar!
    Implementation of Jar that is optimised for file based JAR URLs that refer to a JAR file nested inside a WAR (e.g URLs of the form jar:file: ... .war!
    When using a JarInputStream with an XML parser, the stream will be closed by the parser.
    This class provides a wrapper around Jar that uses reference counting to close and re-create the wrapped Jar instance as required.
     
    The default JarScanner implementation scans the WEB-INF/lib directory followed by the provided classloader and then works up the classloader hierarchy.
    Implementation of Jar that is optimised for non-file based JAR URLs.