Package com.arjuna.ats.internal.jts.orbspecific.interposition

Examples of com.arjuna.ats.internal.jts.orbspecific.interposition.ServerControl


  }

  private ServerTransaction getTransaction ()
  {
    ServerControlWrapper scw = (ServerControlWrapper) super._theAction;
    ServerControl sc = (ServerControl) scw.getImple();
   
    return (ServerTransaction) sc.getImplHandle();
  }
View Full Code Here


           * First register interposed-synchronization.
           */

          try
          {
            ServerControl control = (ServerControl) super.controlHandle;

            if (controlHandle != null)
            {
              realCoord = control.originalCoordinator();

              if (realCoord != null)
              {
                realCoord.register_synchronization(_sync.getSynchronization());
              }
View Full Code Here

public class SubordinateAtomicTransaction extends com.arjuna.ats.internal.jta.transaction.jts.subordinate.SubordinateAtomicTransaction
{

  public SubordinateAtomicTransaction (Uid actId, Xid xid, int timeout)
  {
    super(new ServerControlWrapper(new ServerControl(new ServerTransaction(actId, xid))));
   
    // add this transaction to the reaper list.
   
    if (timeout > 0)
    {
View Full Code Here

   * @param actId transaction to be recovered.
   */
 
  public SubordinateAtomicTransaction (Uid actId)
  {
    super(new ServerControlWrapper(new ServerControl(new ServerTransaction(actId))));
  }
View Full Code Here

  }

  private ServerTransaction getTransaction ()
  {
    ServerControlWrapper scw = (ServerControlWrapper) super._theAction;
    ServerControl sc = (ServerControl) scw.getImple();
   
    return (ServerTransaction) sc.getImplHandle();
  }
View Full Code Here

public class SubordinateAtomicTransaction extends com.arjuna.ats.internal.jta.transaction.jts.subordinate.SubordinateAtomicTransaction
{

  public SubordinateAtomicTransaction (Uid actId, Xid xid, int timeout)
  {
    super(new ServerControlWrapper(new ServerControl(new ServerTransaction(actId, xid))));
   
    // add this transaction to the reaper list.
   
    if (timeout > 0)
    {
View Full Code Here

   * @param actId transaction to be recovered.
   */
 
  public SubordinateAtomicTransaction (Uid actId)
  {
    super(new ServerControlWrapper(new ServerControl(new ServerTransaction(actId))));
  }
View Full Code Here

  if (tmpCoord == null// terminator may correctly be null
  {
      return null;
  }

  ServerControl control = ServerFactory.create_transaction(tlUid, null, null,
                 tmpCoord, tmpTerm, ctx.timeout);

  action = new ServerTopLevelAction(control);

  if (!action.valid())
View Full Code Here

     */
   
protected synchronized ControlImple checkHierarchy (InterposedHierarchy hier,
               PropagationContext context) throws SystemException
    {
  ServerControl control = null;
  ServerResource currentAction = hier.action()// top-level transaction
  int depth = context.parents.length;
  int differenceIndex = -1// index of the new transactions in the hierarchy
 
  /*
 
View Full Code Here

           * First register interposed-synchronization.
           */

          try
          {
            ServerControl control = (ServerControl) super.controlHandle;

            if (controlHandle != null)
            {
              realCoord = control.originalCoordinator();

              if (realCoord != null)
              {
                realCoord.register_synchronization(_sync.getSynchronization());
              }
View Full Code Here

TOP

Related Classes of com.arjuna.ats.internal.jts.orbspecific.interposition.ServerControl

Copyright © 2018 www.massapicom. 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.