ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/naming/factory/TransactionFactory.java

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

      
    
Rootfs path

      
    
Size
1491 (1.5 KB)
MD5
da5eaea1c6d27b9354bb74f5a2a77ffe
SHA1
f11087b5e795ce90d65aaf9037f3d6d271775d34
SHA256
40d09934bb4d66d837944c4c8062c6f001d6541bedb30afbfeb392b96ed64676
SHA512

      
    
SHA1_git
e7d3c68ae6f7cd00f5a9c6922851c7fe48c7c718
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
TransactionFactory.java | 1.5 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.naming.factory; import javax.naming.Reference; import javax.naming.spi.ObjectFactory; import org.apache.naming.TransactionRef; /** * Object factory for User transactions. */ public class TransactionFactory extends FactoryBase { @Override protected boolean isReferenceTypeSupported(Object obj) { return obj instanceof TransactionRef; } @Override protected ObjectFactory getDefaultFactory(Reference ref) { // No default factory supported. return null; } @Override protected Object getLinked(Reference ref) { // Not supported return null; } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
66.48
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