Examples of rollback()


Examples of com.arjuna.webservices.wsat.ParticipantInboundEvents.rollback()

        if (participant != null)
        {
            try
            {
                participant.rollback(rollback, addressingContext, arjunaContext) ;
            }
            catch (final Throwable th)
            {
                if (WSTLogger.arjLoggerI18N.isWarnEnabled())
                {
View Full Code Here

Examples of com.arjuna.webservices11.wsat.ParticipantInboundEvents.rollback()

        if (participant != null)
        {
            try
            {
                participant.rollback(rollback, addressingProperties, arjunaContext) ;
            }
            catch (final Throwable th)
            {
                if (WSTLogger.arjLoggerI18N.isWarnEnabled())
                {
View Full Code Here

Examples of com.arjuna.wst.CompletionCoordinatorParticipant.rollback()

    {
        try
        {
            final CoordinationContextType context = InteropUtil.createCoordinationContext(coordinatorURI) ;
            final CompletionCoordinatorParticipant participant = InteropUtil.registerCompletion(context, context.getIdentifier().getValue()) ;
            participant.rollback() ;
        }
        catch (final Throwable th)
        {
            throw new SoapFault11(th) ;
        }
View Full Code Here

Examples of com.arjuna.wst.stub.CompletionStub.rollback()

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

      CompletionStub completionStub = new CompletionStub(id, completionCoordinator);

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

Examples of com.arjuna.wst11.CompletionCoordinatorParticipant.rollback()

            if (participant != null)
            {
                final String messageId = MessageId.getMessageId() ;
                try
                {
                    participant.rollback() ;
                }
                catch (final UnknownTransactionException ute)
                {
                    final AddressingProperties faultAddressingContext = AddressingHelper.createFaultContext(addressingProperties, messageId) ;
                    final SoapFault soapFault = new SoapFault11(SoapFaultType.FAULT_SENDER, ArjunaTXConstants.UNKNOWNTRANSACTION_ERROR_CODE_QNAME,
View Full Code Here

Examples of com.arjuna.wst11.stub.CompletionStub.rollback()

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

      CompletionStub completionStub = new CompletionStub(id, completionCoordinator);

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

Examples of com.atomikos.icatch.CompositeTerminator.rollback()

    public void rollback () throws IllegalStateException, SystemException
    {

      CompositeTerminator term = getTerminator();
        try {
            term.rollback ();
        } catch ( SysException se ) {
          Configuration.logWarning ( se.getMessage() , se );
            throw new ExtendedSystemException ( se.getMessage (), se
                    .getErrors () );
        }
View Full Code Here

Examples of com.atomikos.icatch.Participant.rollback()

    protected Object send () throws PropagationException
    {
        Participant part = getParticipant ();
        HeuristicMessage[] msgs = null;
        try {
            msgs = part.rollback ();

        } catch ( HeurCommitException heurc ) {
            // System.err.println ( "RollbackMessage: heur commit detected" );
            throw new PropagationException ( heurc, false );
        } catch ( HeurMixedException heurm ) {
View Full Code Here

Examples of com.avaje.ebean.Transaction.rollback()

    } finally {
      Transaction tx = getServer().currentTransaction();
      if (tx != null && tx.isActive()) {
        // transaction left running after the test, rollback it to make
        // the environment ready for the next test
        tx.rollback();
      }
    }
  }

  public EbeanServer getServer() {
View Full Code Here

Examples of com.avaje.ebeaninternal.server.transaction.TransactionMap.State.rollback()

    TransactionMap map = local.get();
    State state = map.removeState(serverName);
    if (state == null) {
      throw new IllegalStateException("No current transaction for [" + serverName + "]");
    }
    state.rollback();
    if (map.isEmpty()) {
      local.remove();
    }
  }
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.