Package com.arjuna.wst.stub

Examples of com.arjuna.wst.stub.CompletionStub


      final EndpointReferenceType completionCoordinator = (EndpointReferenceType) _completionCoordinators.get(id);

      if (completionCoordinator == null)
        throw new WrongStateException();

      CompletionStub completionStub = new CompletionStub(id, completionCoordinator);

      completionStub.commit();
    }
    catch (SystemException ex)
    {
      throw ex;
    }
View Full Code Here


      EndpointReferenceType completionCoordinator = (EndpointReferenceType) _completionCoordinators.get(id);

      if (completionCoordinator == null)
        throw new WrongStateException();

      CompletionStub completionStub = new CompletionStub(id, completionCoordinator);

      completionStub.rollback();
    }
    catch (SystemException ex)
    {
      throw ex;
    }
View Full Code Here

        InstanceIdentifier.setEndpointInstanceIdentifier(systemExceptionCompletionCoordinator, TestUtil.SYSTEMEXCEPTION_TRANSACTION_IDENTIFIER);

        EndpointReferenceType nonexistentCompletionCoordinator = new EndpointReferenceType(new AttributedURIType(completionCoordinatorServiceURI));
        InstanceIdentifier.setEndpointInstanceIdentifier(nonexistentCompletionCoordinator, TestUtil.NONEXISTENT_TRANSACTION_IDENTIFIER);

        _noExceptionCompletionStub                    = new CompletionStub("completionParticipant", noExceptionCompletionCoordinator);
        _transactionRolledBackExceptionCompletionStub = new CompletionStub("completionParticipant", transactionRolledBackExceptionCompletionCoordinator);
        _unknownExceptionExceptionCompletionStub      = new CompletionStub("completionParticipant", unknownTransactionExceptionCompletionCoordinator);
        _systemExceptionCompletionStub                = new CompletionStub("completionParticipant", systemExceptionCompletionCoordinator);
        _nonexistentCompletionStub                    = new CompletionStub("completionParticipant", nonexistentCompletionCoordinator);
    }
View Full Code Here

        InstanceIdentifier.setEndpointInstanceIdentifier(systemExceptionCompletionCoordinator, TestUtil.SYSTEMEXCEPTION_TRANSACTION_IDENTIFIER);

        EndpointReferenceType nonexistentCompletionCoordinator = new EndpointReferenceType(new AttributedURIType(completionCoordinatorServiceURI));
        InstanceIdentifier.setEndpointInstanceIdentifier(nonexistentCompletionCoordinator, TestUtil.NONEXISTENT_TRANSACTION_IDENTIFIER);

        _noExceptionCompletionStub                    = new CompletionStub("completionParticipant", noExceptionCompletionCoordinator);
        _transactionRolledBackExceptionCompletionStub = new CompletionStub("completionParticipant", transactionRolledBackExceptionCompletionCoordinator);
        _unknownExceptionExceptionCompletionStub      = new CompletionStub("completionParticipant", unknownTransactionExceptionCompletionCoordinator);
        _systemExceptionCompletionStub                = new CompletionStub("completionParticipant", systemExceptionCompletionCoordinator);
        _nonexistentCompletionStub                    = new CompletionStub("completionParticipant", nonexistentCompletionCoordinator);
    }
View Full Code Here

      final EndpointReferenceType completionCoordinator = (EndpointReferenceType) _completionCoordinators.get(id);
     
      if (completionCoordinator == null)
        throw new SecurityException();

      CompletionStub completionStub = new CompletionStub(id, completionCoordinator);

      completionStub.commit();
    }
    catch (SystemException ex)
    {
      throw ex;
    }
View Full Code Here

      EndpointReferenceType completionCoordinator = (EndpointReferenceType) _completionCoordinators.get(id);
     
      if (completionCoordinator == null)
        throw new SecurityException();

      CompletionStub completionStub = new CompletionStub(id, completionCoordinator);

      completionStub.rollback();
    }
    catch (SystemException ex)
    {
      throw ex;
    }
View Full Code Here

TOP

Related Classes of com.arjuna.wst.stub.CompletionStub

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.