ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/tomcat/dbcp/dbcp2/Constants.java

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

      
    
Rootfs path

      
    
Size
2238 (2.2 KB)
MD5
a904a9420d581627a72ae1595dd90433
SHA1
3cd0c3855e9c208032c2f3a85939095ac341c4d1
SHA256
3570595a9f599d000c51485f41bf5eadf31c9fd4421a369a0723716af03da7af
SHA512

      
    
SHA1_git
594a3d044c065abf09a935fe1e35e3a8c659ac78
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
Constants.java | 2.2 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 * * https://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.dbcp.dbcp2; /** * Constants. * * @since 2.0 */ public class Constants { /** * Constant used to build JMX strings. */ public static final String JMX_CONNECTION_POOL_BASE_EXT = ",connectionpool="; /** * Constant used to build JMX strings. */ public static final String JMX_CONNECTION_POOL_PREFIX = "connections"; /** * Constant used to build JMX strings. */ public static final String JMX_CONNECTION_BASE_EXT = JMX_CONNECTION_POOL_BASE_EXT + JMX_CONNECTION_POOL_PREFIX + ",connection="; /** * Constant used to build JMX strings. */ public static final String JMX_STATEMENT_POOL_BASE_EXT = JMX_CONNECTION_BASE_EXT; /** * Constant used to build JMX strings. */ public static final String JMX_STATEMENT_POOL_PREFIX = ",statementpool=statements"; /** * JDBC properties and URL key for passwords. * * @since 2.9.0 */ public static final String KEY_PASSWORD = "password"; /** * JDBC properties and URL key for users. * * @since 2.9.0 */ public static final String KEY_USER = "user"; /** * Deprecated, only contains static methods. * * @deprecated Will be private in the next major version. */ @Deprecated public Constants() { // empty } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
43.27
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-eb6b5ae0-4f88-4e9b-d67c-c6c8e733b1cd apache-2.0 Apache-2.0
URL Start line End line
https://www.apache.org/licenses/LICENSE-2.0 9 9