Examples of xaStartParameters()


Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

                }
              }
            }

            int xaStartNormal = ((theModifier == null) ? XAResource.TMNOFLAGS
                : theModifier
                    .xaStartParameters(XAResource.TMNOFLAGS));


                        // Pay attention now, this bit is hairy. We need to add a new AbstractRecord (XAResourceRecord)
                        // to the BasicAction, which will thereafter drive its completion. However, the transaction
View Full Code Here

Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

        xid = existingRM.xid();

        try
        {
          int xaStartJoin = ((theModifier == null) ? XAResource.TMJOIN
              : theModifier.xaStartParameters(XAResource.TMJOIN));

          xaRes.start(xid, xaStartJoin);
        }
        catch (XAException ex)
        {
View Full Code Here

Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

             * Resource instance will still be registered with the
             * transaction though.
             */

            int xaStartResume = ((theModifier == null) ? XAResource.TMRESUME
                : theModifier
                    .xaStartParameters(XAResource.TMRESUME));

            xaRes.start(info.xid(), xaStartResume);

            info.setState(TxInfo.ASSOCIATED);
View Full Code Here

Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

            /*
             * Resource was associated, but was presumably delisted.
             */

            int xaStartJoin = ((theModifier == null) ? XAResource.TMJOIN
                : theModifier
                    .xaStartParameters(XAResource.TMJOIN));

            xaRes.start(info.xid(), xaStartJoin);

            info.setState(TxInfo.ASSOCIATED);
View Full Code Here

Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

                }
              }
            }

            int xaStartNormal = ((theModifier == null) ? XAResource.TMNOFLAGS
                : theModifier
                    .xaStartParameters(XAResource.TMNOFLAGS));


                        // Pay attention now, this bit is hairy. We need to add a new AbstractRecord (XAResourceRecord)
                        // to the BasicAction, which will thereafter drive its completion. However, the transaction
View Full Code Here

Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

        xid = existingRM.xid();

        try
        {
          int xaStartJoin = ((theModifier == null) ? XAResource.TMJOIN
              : theModifier.xaStartParameters(XAResource.TMJOIN));

          xaRes.start(xid, xaStartJoin);
        }
        catch (XAException ex)
        {
View Full Code Here

Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

/*  603 */         if (info != null)
/*      */         {
/*  605 */           switch (info.getState())
/*      */           {
/*      */           case 2:
/*  615 */             int xaStartResume = theModifier == null ? 134217728 : theModifier.xaStartParameters(134217728);
/*      */
/*  619 */             xaRes.start(info.xid(), xaStartResume);
/*      */
/*  621 */             info.setState(0);
/*      */
View Full Code Here

Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

/*      */
/*  628 */             return true;
/*      */           case 0:
/*  637 */             return true;
/*      */           case 1:
/*  645 */             int xaStartJoin = theModifier == null ? 2097152 : theModifier.xaStartParameters(2097152);
/*      */
/*  649 */             xaRes.start(info.xid(), xaStartJoin);
/*      */
/*  651 */             info.setState(0);
/*      */
View Full Code Here

Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

/*      */
/*      */               }
/*      */
/*      */             }
/*      */
/*  772 */             int xaStartNormal = theModifier == null ? 0 : theModifier.xaStartParameters(0);
/*      */
/*  776 */             xaRes.start(xid, xaStartNormal);
/*      */
/*  778 */             associatedWork = true;
/*      */
View Full Code Here

Examples of com.arjuna.ats.jta.xa.XAModifier.xaStartParameters()

/*      */       else
/*      */       {
/*  858 */         xid = existingRM.xid();
/*      */         try
/*      */         {
/*  862 */           int xaStartJoin = theModifier == null ? 2097152 : theModifier.xaStartParameters(2097152);
/*      */
/*  865 */           xaRes.start(xid, xaStartJoin);
/*      */         }
/*      */         catch (XAException ex)
/*      */         {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.