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

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

      
    
Rootfs path

      
    
Size
2678 (2.6 KB)
MD5
a45c0130ec77f8105b424a57a23e0a4e
SHA1
724251cc5c34ff45010c243767f11605627d4988
SHA256
9ac1604cfabe696155628ec5366e6a729c4bf7e0232d3613700c01701a61c051
SHA512

      
    
SHA1_git
7c96d5d17c2d451200a16bc508e40172445d5d8d
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
WebappProperties.java | 2.6 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.juli; /** * An interface intended for use by class loaders associated with a web application that enables them to provide * additional information to JULI about the web application with which they are associated. For any web application the * combination of {@link #getWebappName()}, {@link #getHostName()} and {@link #getServiceName()} must be unique. */ public interface WebappProperties { /** * Returns a name for the logging system to use for the web application, if any, associated with the class loader. * * @return The name to use for the web application or null if none is available. */ String getWebappName(); /** * Returns a name for the logging system to use for the Host where the web application, if any, associated with the * class loader is deployed. * * @return The name to use for the Host where the web application is deployed or null if none is available. */ String getHostName(); /** * Returns a name for the logging system to use for the Service where the Host, if any, associated with the class * loader is deployed. * * @return The name to use for the Service where the Host is deployed or null if none is available. */ String getServiceName(); /** * Enables JULI to determine if the web application includes a local configuration without JULI having to look for * the file which it may not have permission to do when running under a SecurityManager. * * @return {@code true} if the web application includes a logging configuration at the standard location of * /WEB-INF/classes/logging.properties. * * @deprecated Unused. Will be removed in Tomcat 12 onwards. */ @Deprecated boolean hasLoggingConfig(); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
33.24
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