ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/tomcat/JarScanner.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/tomcat/JarScanner.java
Status
scanned
Type
file
Name
JarScanner.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1832 (1.8 KB)
MD5
29e0bf5dac5959380627f58ff47b0835
SHA1
a6266e43a8f0a76d96a3db4061869b72fa8c37ee
SHA256
56db373aed04037c0922bd91ccf9bbe6771c43aabc7cdd6266b5bec7781d9225
SHA512

      
    
SHA1_git
867519a42f95894ba7a2dd1f41d2dcdb75ee473b
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
JarScanner.java | 1.8 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.tomcat; import jakarta.servlet.ServletContext; /** * Scans a web application and classloader hierarchy for JAR files. Uses include TLD scanning and web-fragment.xml * scanning. Uses a call-back mechanism so the caller can process each JAR found. */ public interface JarScanner { /** * Scan the provided ServletContext and classloader for JAR files. Each JAR file found will be passed to the * callback handler to be processed. * * @param scanType The type of JAR scan to perform. This is passed to the filter which uses it to determine how to * filter the results * @param context The ServletContext - used to locate and access WEB-INF/lib * @param callback The handler to process any JARs found */ void scan(JarScanType scanType, ServletContext context, JarScannerCallback callback); JarScanFilter getJarScanFilter(); void setJarScanFilter(JarScanFilter jarScanFilter); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
48.97
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9