ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/jakarta/transaction/Transaction.java

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

      
    
Rootfs path

      
    
Size
1639 (1.6 KB)
MD5
e47aa8dcc9baa93b08ab998fbb268162
SHA1
248486a1caad50d9892717a6e83691939876cfb6
SHA256
68c73661afcbf63d1e9233cfacc91388525db577f510d3b047ca24db3052a40e
SHA512

      
    
SHA1_git
34df3a7b922cc90a6632041e87db705181889bbb
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
Transaction.java | 1.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 jakarta.transaction; import javax.transaction.xa.XAResource; public interface Transaction { void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException; boolean delistResource(XAResource xaRes, int flag) throws IllegalStateException, SystemException; boolean enlistResource(XAResource xaRes) throws RollbackException, IllegalStateException, SystemException; int getStatus() throws SystemException; void registerSynchronization(Synchronization sync) throws RollbackException, IllegalStateException, SystemException; void rollback() throws IllegalStateException, SystemException; void setRollbackOnly() throws IllegalStateException, SystemException; }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
66.85
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