Examples of TxContext


Examples of com.arjuna.mw.wst.TxContext

  catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
  {
      throw new SystemException(ex.toString());
  }

  TxContext txCtx = (TxContext) _threadTxData.get();
  if (txCtx != null)
  {
      _threadTxData.set(null) ;
  }
 
View Full Code Here

Examples of com.arjuna.mw.wst.TxContext

  }
    }

    public final void tidyup ()
    {
  TxContext txCtx = (TxContext) _threadTxData.get();
 
  if (txCtx != null)
  {
      _threadTxData.set(null) ;
      _contextMapper.remove(txCtx);
View Full Code Here

Examples of com.arjuna.mw.wst.TxContext

  catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
  {
      throw new SystemException(ex.toString());
  }

  TxContext txCtx = (TxContext) _threadTxData.get();
  if (txCtx != null)
        {
      _threadTxData.set(null) ;
        }
 
View Full Code Here

Examples of com.arjuna.mw.wst.TxContext

  }
    }

    public final void tidyup ()
    {
  TxContext txCtx = (TxContext) _threadTxData.get();
 
  if (txCtx != null)
  {
      _threadTxData.set(null) ;
      _contextMapper.remove(txCtx);
View Full Code Here

Examples of com.arjuna.mw.wst.TxContext

    _threadTxData.set(tx);
  }

  public TxContext suspend () throws SystemException
  {
    final TxContext ctx = currentTransaction();
   
    if (ctx != null)
    {
      _threadTxData.set(null);
    }
View Full Code Here

Examples of com.arjuna.mw.wst.TxContext

                    final String coordinationType = cc.getCoordinationType().getValue() ;

                    if (AtomicTransactionConstants.WSAT_PROTOCOL.equals(coordinationType))
                    {
                        final TxContext txContext = new com.arjuna.mwlabs.wst.at.context.TxContextImple(cc) ;
                        transactionManager.resume(txContext) ;
                    }
                    else if (BusinessActivityConstants.WSBA_PROTOCOL_ATOMIC_OUTCOME.equals(coordinationType))
                    {
                        final TxContext txContext = new com.arjuna.mwlabs.wst.ba.context.TxContextImple(cc);
                        businessActivityManager.resume(txContext) ;
                    }
                    else
                    {
                    wstxLogger.arjLoggerI18N.warn("com.arjuna.mw.wst.service.GlueICI_1",
View Full Code Here

Examples of com.arjuna.mw.wst.TxContext

                {
                    final CoordinationContextType cc = CoordinationContextHelper.deserialise(soapEnvelope, soapHeaderElement) ;
                    final String coordinationType = cc.getCoordinationType().getValue() ;
                    if (AtomicTransactionConstants.WSAT_PROTOCOL.equals(coordinationType))
                    {
                        final TxContext txContext = new com.arjuna.mwlabs.wst.at.context.TxContextImple(cc) ;
                        TransactionManagerFactory.transactionManager().resume(txContext) ;
                        clearMustUnderstand(soapHeader, soapHeaderElement) ;
                    }
                    else if (BusinessActivityConstants.WSBA_PROTOCOL_ATOMIC_OUTCOME.equals(coordinationType))
                    {
                        final TxContext txContext = new com.arjuna.mwlabs.wst.ba.context.TxContextImple(cc);
                        BusinessActivityManagerFactory.businessActivityManager().resume(txContext) ;
                        clearMustUnderstand(soapHeader, soapHeaderElement) ;
                    }
                    else
                    {
View Full Code Here

Examples of com.arjuna.mw.wst.TxContext

     
      ut.begin();
     
      tm.enlistForDurableTwoPhase(p, null);

      TxContext ctx = tm.suspend();
     
      System.out.println("Suspended: "+ctx);

      tm.resume(ctx);
View Full Code Here

Examples of com.arjuna.mw.wst.TxContext

      UserTransaction ut = UserTransaction.getUserTransaction();
      TransactionManager tm = TransactionManager.getTransactionManager();
 
      ut.begin();
     
      TxContext ctx = tm.suspend();

      System.out.println("Suspended: "+ctx);
     
      tm.resume(ctx);
View Full Code Here

Examples of com.arjuna.mw.wst.TxContext

                    if (cc != null)
                    {
                        final String coordinationType = cc.getCoordinationType().getValue() ;
                        if (AtomicTransactionConstants.WSAT_PROTOCOL.equals(coordinationType))
                        {
                            final TxContext txContext = new com.arjuna.mwlabs.wst.at.context.TxContextImple(cc) ;
                            TransactionManagerFactory.transactionManager().resume(txContext) ;
                        }
                        else if (BusinessActivityConstants.WSBA_PROTOCOL_ATOMIC_OUTCOME.equals(coordinationType))
                        {
                            final TxContext txContext = new com.arjuna.mwlabs.wst.ba.context.TxContextImple(cc);
                            BusinessActivityManagerFactory.businessActivityManager().resume(txContext) ;
                        }
                        else
                        {
                      wstxLogger.arjLoggerI18N.warn("com.arjuna.mw.wst.client.JaxRPCHCP_1",
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.