Package com.arjuna.ats.internal.jta.resources.jts

Examples of com.arjuna.ats.internal.jta.resources.jts.CleanupSynchronization


        theTx = (TwoPhaseCoordinator) BasicAction.Current();

        if (theTx != null// TM is local
          theTx.addSynchronization(new LocalCleanupSynchronization(this));
        else
          registerSynchronization(new CleanupSynchronization(this));
      }
      catch (ClassCastException ex)
      {
        /*
         * Not a local/interposed transaction.
         */

        registerSynchronization(new CleanupSynchronization(this));
      }
    }
    catch (Exception ex)
    {
      /*
 
View Full Code Here


          if (theTx != null)
            theTx.addSynchronization(new LocalCleanupSynchronization(
                this));
          else
            registerSynchronization(new CleanupSynchronization(this));
        }
        catch (ClassCastException ex)
        {
          /*
           * Not a local/interposed transaction.
           */

          registerSynchronization(new CleanupSynchronization(this));
        }
      }
    }
    catch (Exception ex)
    {
View Full Code Here

TOP

Related Classes of com.arjuna.ats.internal.jta.resources.jts.CleanupSynchronization

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.