[jboss-cvs] JBossAS SVN: r98307 - projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/cci.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 22 11:56:49 EST 2009


Author: jaikiran
Date: 2009-12-22 11:56:49 -0500 (Tue, 22 Dec 2009)
New Revision: 98307

Removed:
   projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/cci/LocalTransaction.java
Log:
Autoversioning commit:  a non-deltaV client made a change to
/projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/cci/LocalTransaction.java

Deleted: projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/cci/LocalTransaction.java
===================================================================
--- projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/cci/LocalTransaction.java	2009-12-22 16:56:42 UTC (rev 98306)
+++ projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/cci/LocalTransaction.java	2009-12-22 16:56:49 UTC (rev 98307)
@@ -1,107 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-
-package javax.resource.cci;
-
-import javax.resource.ResourceException;
-/** The LocalTransaction defines a transaction demarcation interface for
- *  resource manager local transactions. Note that this interface is 
- *  used for application level local transaction demarcation. The
- *  system contract level LocalTransaction interface (as defined in
- *  the <code>javax.resource.spi</code> package) is used by the container 
- *  for local transaction management.
- *
- *  <p>A local transaction is managed internal to a resource manager. There
- *  is no external transaction manager involved in the coordination of 
- *  such transactions.
- *
- *  <p>A CCI implementation can (but is not required to) implement the
- *  LocalTransaction interface. If the LocalTransaction interface is supported
- *  by a CCI implementation, then the method 
- *  <code>Connection.getLocalTransaction</code> should return a
- *  LocalTransaction instance. A component can then use the
- *  returned LocalTransaction to demarcate a resource manager local transaction
- *  (associated with the Connection instance) on the underlying EIS 
- *  instance.
- *  
- *  @author  Rahul Sharma
- *  @since   0.8
- *  @see     javax.resource.cci.Connection
-**/
-
-public interface LocalTransaction {
-
-  /** Begins a local transaction on an EIS instance.
-   *
-   *  @throws  ResourceException  Failed to begin a local
-   *                              transaction. Examples of
-   *                              error cases are:
-   *           <UL>
-   *             <LI>Resource adapter internal or EIS-specific
-   *                 error
-   *             <LI>Connection is already participating in a 
-   *                 local or JTA transaction 
-   *           </UL> 
-  **/
-  public 
-  void begin() throws ResourceException;
-
-
-  /** Commits the current local transaction and release all locks held 
-   *  by the underlying EIS instance.
-   *
-   *  @throws  ResourceException  Failed to commit a local
-   *                              transaction. Examples of
-   *                              error cases are:
-   *          <UL>
-   *            <LI> Resource adapter internal or EIS-specific error
-   *            <LI> Violation of integrity constraints, deadlock 
-   *                 detection, communication failure during 
-   *                 transaction completion, or any retry requirement
-   *            <LI> Connection is participating in an active JTA
-   *                 transaction 
-   *            <LI> Invalid transaction context; commit
-   *                 operation invoked without an active
-   *                 transaction context
-   *         </UL> 
-  **/
-  public 
-  void commit() throws ResourceException;
-
-  /** Rollbacks the current resource manager local transaction.
-   *
-   *  @throws  ResourceException  Failed to rollback a local
-   *                              transaction. Examples of
-   *                              error cases are:
-   *           <UL>
-   *             <LI> Resource adapter internal or EIS-specific error
-   *             <LI> Connection is participating in an active JTA 
-   *                  transaction 
-   *             <LI> Invalid transaction context; rollback
-   *                  operation invoked without an active
-   *                  transaction context
-   *          </UL> 
-
-  **/
-  public
-  void rollback() throws ResourceException;
-}




More information about the jboss-cvs-commits mailing list