Package com.arjuna.ats.internal.jts

Examples of com.arjuna.ats.internal.jts.ControlWrapper


    else
        threadId = ThreadUtil.getThreadId() ;
   
    if (threadId != null)
    {
        ControlWrapper theControl = OTSImpleManager.current().contextManager().current(threadId);

        if (theControl != null)
        {
      try
      {
          Coordinator theCoordinator = theControl.get_coordinator();
          PropagationContext ctx = null;
       
          if (theCoordinator != null)
          {
        ctx = theCoordinator.get_txcontext();
View Full Code Here


    {
      TransactionImple theTransaction = (TransactionImple) which;

      try
      {
        ControlWrapper cont = theTransaction.getControlWrapper();

        OTSImpleManager.current().resumeWrapper(cont);

        cont = null;
        theTransaction = null;
View Full Code Here

     
      try
      {
    if ((threadId = data.extract_string()) != null)
    {
        ControlWrapper ctx = OTSImpleManager.current().contextManager().popAction(threadId);

        OTSImpleManager.current().contextManager().purgeActions(threadId);
       
        if (ctx != null)
        {
      try
      {
          OTSManager.destroyControl(ctx.getControl());
          ctx = null;
      }
      catch (Exception e)
      {
          if (jtsLogger.loggerI18N.isWarnEnabled())
View Full Code Here

     
      try
      {
    if ((threadId = data.extract_string()) != null)
    {
        ControlWrapper ctx = OTSImpleManager.current().contextManager().popAction(threadId);

        OTSImpleManager.current().contextManager().purgeActions(threadId);
       
        if (ctx != null)
        {
      try
      {
          OTSManager.destroyControl(ctx.getControl());
          ctx = null;
      }
      catch (Exception e)
      {
          if (jtsLogger.loggerI18N.isWarnEnabled())
View Full Code Here

      try
      {
    if ((threadId = data.extract_string()) != null)
    {
        //        ControlWrapper ctx = OTSImpleManager.systemCurrent().contextManager().popAction(threadId);
        ControlWrapper ctx = OTSImpleManager.current().contextManager().popAction(threadId);
   
        //        OTSImpleManager.systemCurrent().contextManager().purgeActions(threadId);

        OTSImpleManager.current().contextManager().purgeActions(threadId);
    }
View Full Code Here

    else
        threadId = ThreadUtil.getThreadId() ;

    if (threadId != null)
    {
        ControlWrapper theControl = OTSImpleManager.current().contextManager().current(threadId);

        if (theControl != null)
        {
      try
      {
          Coordinator theCoordinator = theControl.get_coordinator();

          if (theCoordinator != null)
          {
        stringRef = ORBManager.getORB().orb().object_to_string(theCoordinator);
          }
View Full Code Here

    else
        threadId = ThreadUtil.getThreadId() ;

    if (threadId != null)
    {
        ControlWrapper theControl = OTSImpleManager.current().contextManager().current(threadId);

        if (theControl != null)
        {
      try
      {
          Coordinator theCoordinator = theControl.get_coordinator();

          if (theCoordinator != null)
          {
        stringRef = ORBManager.getORB().orb().object_to_string(theCoordinator);
          }
View Full Code Here

    else
        threadId = ThreadUtil.getThreadId() ;

    if (threadId != null)
    {
        ControlWrapper theControl = OTSImpleManager.systemCurrent().contextManager().current(threadId);

        if (theControl != null)
        {
      try
      {
          Coordinator theCoordinator = theControl.get_coordinator();
          PropagationContext ctx = null;

          if (theCoordinator != null)
          {
        ctx = theCoordinator.get_txcontext();
View Full Code Here

     
      try
      {
    if ((threadId = data.extract_string()) != null)
    {
        ControlWrapper ctx = OTSImpleManager.current().contextManager().popAction(threadId);

        OTSImpleManager.current().contextManager().purgeActions(threadId);
       
        if (ctx != null)
        {
      try
      {
          OTSManager.destroyControl(ctx.getControl());
          ctx = null;
      }
      catch (Exception e)
      {
          if (jtsLogger.loggerI18N.isWarnEnabled())
View Full Code Here

      try
      {
    if ((threadId = data.extract_string()) != null)
    {
        ControlWrapper ctx = OTSImpleManager.current().contextManager().popAction(threadId);
   
        OTSImpleManager.current().contextManager().purgeActions(threadId);
    }
      }
      catch (BAD_OPERATION bex)
View Full Code Here

TOP

Related Classes of com.arjuna.ats.internal.jts.ControlWrapper

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.