JarScannerFactory (Apache Tomcat 10.1.48 API Documentation)
Description: declaration: package: org.apache.jasper.compiler, class: JarScannerFactory

# Class JarScannerFactory

java.lang.Object
org.apache.jasper.compiler.JarScannerFactory

public class JarScannerFactory extends Object
Provide a mechanism for Jasper to obtain a reference to the JarScanner implementation.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static JarScanner`
  `getJarScanner(ServletContext ctxt)`
  Obtain the `JarScanner` associated with the specified `ServletContext`.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getJarScanner

    public static JarScanner getJarScanner(ServletContext ctxt)
    Obtain the `JarScanner` associated with the specified `ServletContext`. It is obtained via a context parameter.
    Parameters:
      `ctxt` - The Servlet context
    Returns:
      a scanner instance