ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/jakarta/annotation/sql/DataSourceDefinition.java

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

      
    
Rootfs path

      
    
Size
2859 (2.8 KB)
MD5
3ad61c8094554111bd069af5219f0cb4
SHA1
6b79474dd380143c185503961a4fcfca90c33ea0
SHA256
0187383bdf929893d021d085e313f4ad615050d4a6f1b815ae43307cd9a826d3
SHA512

      
    
SHA1_git
940f10e217cec052f1c8820d800eab469e679fbd
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
DataSourceDefinition.java | 2.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 jakarta.annotation.sql; import java.lang.annotation.ElementType; import java.lang.annotation.Repeatable; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @since Common Annotations 1.1 */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Repeatable(DataSourceDefinitions.class) public @interface DataSourceDefinition { /** * @return the className */ String className(); /** * @return the name */ String name(); /** * @return the description */ String description() default ""; /** * @return the url */ String url() default ""; /** * @return the user */ String user() default ""; /** * @return the password */ String password() default ""; /** * @return database name */ String databaseName() default ""; /** * @return the port number */ int portNumber() default -1; /** * @return the server name */ String serverName() default "localhost"; /** * @return the isolation level */ int isolationLevel() default -1; /** * @return true if the data source is transactional */ boolean transactional() default true; /** * @return the initial pool size */ int initialPoolSize() default -1; /** * @return the max pool size */ int maxPoolSize() default -1; /** * @return the min pool size */ int minPoolSize() default -1; /** * @return the max idle time */ int maxIdleTime() default -1; /** * @return the max statements */ int maxStatements() default -1; /** * @return a String[] with the properties */ String[] properties() default {}; /** * @return the login timeout */ int loginTimeout() default 0; }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
39.67
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