Package com.arjuna.mwlabs.wst.ba.context

Examples of com.arjuna.mwlabs.wst.ba.context.TxContextImple


    }
 
    private final EndpointReferenceType registerParticipant(final EndpointReferenceType participant, final String protocol)
        throws com.arjuna.wsc.InvalidProtocolException, com.arjuna.wsc.InvalidStateException, com.arjuna.wsc.NoActivityException, SystemException
    {
      TxContextImple currentTx = null;
   
      try
      {
          currentTx = (TxContextImple) _ctxManager.currentTransaction();
         
          if (currentTx == null)
            throw new com.arjuna.wsc.NoActivityException();

            final CoordinationContextType coordinationContext = currentTx.context().getCoordinationContext() ;
            final String messageId = new Uid().stringForm() ;
            return RegistrationCoordinator.register(coordinationContext, messageId, participant, protocol) ;
      }
        catch (final SoapFault sf)
        {
View Full Code Here


          if (_contextManager.currentTransaction() != null)
        throw new WrongStateException();
         
          CoordinationContextType ctx = _factory.create(BusinessActivityConstants.WSBA_PROTOCOL_ATOMIC_OUTCOME, null, null);
   
          TxContextImple theContext = new TxContextImple(ctx);
   
          _contextManager.resume(theContext);
      }
      catch (com.arjuna.wst.UnknownTransactionException ex)
      {
View Full Code Here

TOP

Related Classes of com.arjuna.mwlabs.wst.ba.context.TxContextImple

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.