Package com.arjuna.wst.stub

Examples of com.arjuna.wst.stub.BusinessActivityTerminatorStub$RequestCallback


            }
           
            final String id = ctx.identifier() ;
            final EndpointReferenceType terminatorCoordinator = getTerminationCoordinator(ctx) ;
           
          BusinessActivityTerminatorStub terminatorStub = new BusinessActivityTerminatorStub(id, terminatorCoordinator);
         
          terminatorStub.close();
      }
      catch (SystemException ex)
      {
          throw ex;
      }
View Full Code Here


            }

            final String id = ctx.identifier() ;
            final EndpointReferenceType terminatorCoordinator = getTerminationCoordinator(ctx) ;
           
            BusinessActivityTerminatorStub terminatorStub = new BusinessActivityTerminatorStub(id, terminatorCoordinator);
         
          terminatorStub.cancel();
      }
      catch (SystemException ex)
      {
          throw ex;
      }
View Full Code Here

                throw new WrongStateException();
            }
            final String id = ctx.identifier() ;
            final EndpointReferenceType terminatorCoordinator = getTerminationCoordinator(ctx) ;
           
            BusinessActivityTerminatorStub terminatorStub = new BusinessActivityTerminatorStub(id, terminatorCoordinator);
           
          terminatorStub.complete();
      }
      catch (SystemException ex)
      {
          throw ex;
      }
View Full Code Here

        InstanceIdentifier.setEndpointInstanceIdentifier(transactionRolledBackExceptionBusinessActivityTerminatorCoordinator, TestUtil.TRANSACTIONROLLEDBACKEXCEPTION_TRANSACTION_IDENTIFIER);

        EndpointReferenceType systemExceptionBusinessActivityTerminatorCoordinator = new EndpointReferenceType(new AttributedURIType(businessActivityTerminatorParticipantServiceURI));
        InstanceIdentifier.setEndpointInstanceIdentifier(systemExceptionBusinessActivityTerminatorCoordinator, TestUtil.SYSTEMEXCEPTION_PARTICIPANT_IDENTIFIER);

        _noExceptionBusinessActivityTerminatorStub = new BusinessActivityTerminatorStub("businessActivityTerminatorCoordinator", noExceptionBusinessActivityTerminatorCoordinator);
        _transactionRolledBackExceptionBusinessActivityTerminatorStub = new BusinessActivityTerminatorStub("businessActivityTerminatorCoordinator", transactionRolledBackExceptionBusinessActivityTerminatorCoordinator);
        _systemExceptionBusinessActivityTerminatorStub = new BusinessActivityTerminatorStub("businessActivityTerminatorCoordinator", systemExceptionBusinessActivityTerminatorCoordinator);
        _unknownTransactionExceptionBusinessActivityTerminatorStub = new BusinessActivityTerminatorStub("businessActivityTerminatorCoordinator", unknownTransactionExceptionBusinessActivityTerminatorCoordinator);
    }
View Full Code Here

          ctx = (TxContextImple) _ctxManager.suspend();
           
            final String id = ctx.identifier() ;
            final EndpointReferenceType terminatorCoordinator = getTerminationCoordinator(ctx) ;
           
          BusinessActivityTerminatorStub terminatorStub = new BusinessActivityTerminatorStub(id, terminatorCoordinator);
         
          terminatorStub.close();
      }
      catch (SystemException ex)
      {
          throw ex;
      }
View Full Code Here

            ctx = (TxContextImple) _ctxManager.suspend();
           
            final String id = ctx.identifier() ;
            final EndpointReferenceType terminatorCoordinator = getTerminationCoordinator(ctx) ;
           
            BusinessActivityTerminatorStub terminatorStub = new BusinessActivityTerminatorStub(id, terminatorCoordinator);
         
          terminatorStub.cancel();
      }
      catch (SystemException ex)
      {
          throw ex;
      }
View Full Code Here

      {
            final TxContextImple ctx = ((TxContextImple) _ctxManager.currentTransaction()) ;
            final String id = ctx.identifier() ;
            final EndpointReferenceType terminatorCoordinator = getTerminationCoordinator(ctx) ;
           
            BusinessActivityTerminatorStub terminatorStub = new BusinessActivityTerminatorStub(id, terminatorCoordinator);
           
          terminatorStub.complete();
      }
      catch (SystemException ex)
      {
          throw ex;
      }
View Full Code Here

        InstanceIdentifier.setEndpointInstanceIdentifier(transactionRolledBackExceptionBusinessActivityTerminatorCoordinator, TestUtil.TRANSACTIONROLLEDBACKEXCEPTION_TRANSACTION_IDENTIFIER);

        EndpointReferenceType systemExceptionBusinessActivityTerminatorCoordinator = new EndpointReferenceType(new AttributedURIType(businessActivityTerminatorParticipantServiceURI));
        InstanceIdentifier.setEndpointInstanceIdentifier(systemExceptionBusinessActivityTerminatorCoordinator, TestUtil.SYSTEMEXCEPTION_PARTICIPANT_IDENTIFIER);

        _noExceptionBusinessActivityTerminatorStub = new BusinessActivityTerminatorStub("businessActivityTerminatorCoordinator", noExceptionBusinessActivityTerminatorCoordinator);
        _transactionRolledBackExceptionBusinessActivityTerminatorStub = new BusinessActivityTerminatorStub("businessActivityTerminatorCoordinator", transactionRolledBackExceptionBusinessActivityTerminatorCoordinator);
        _systemExceptionBusinessActivityTerminatorStub = new BusinessActivityTerminatorStub("businessActivityTerminatorCoordinator", systemExceptionBusinessActivityTerminatorCoordinator);
        _unknownTransactionExceptionBusinessActivityTerminatorStub = new BusinessActivityTerminatorStub("businessActivityTerminatorCoordinator", unknownTransactionExceptionBusinessActivityTerminatorCoordinator);
    }
View Full Code Here

TOP

Related Classes of com.arjuna.wst.stub.BusinessActivityTerminatorStub$RequestCallback

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.