Uses of Class
com.arjuna.wst.WrongStateException

Packages that use WrongStateException
  • Uses of WrongStateException in com.arjuna.mw.wst11

    Modifier and Type
    Method
    Description
    abstract void
    UserBusinessActivity.begin()
    Start a new business activity with atomic outcome.
    abstract void
    UserBusinessActivity.begin(int timeout)
    Start a new BA with atomic outcome and the specified timeout as its lifetime.
    abstract void
    UserTransaction.begin()
    Start a new transaction.
    abstract void
    UserTransaction.begin(int timeout)
    Start a new transaction with the specified timeout as its lifetime.
    abstract void
    UserBusinessActivity.cancel()
    If the BA must undo its work then the cancel method is used.
    abstract void
    UserBusinessActivity.close()
    The BA is normally terminated by the close method.
    abstract void
    UserTransaction.commit()
    The transaction is committed by the commit method.
    abstract void
    UserBusinessActivity.complete()
    If participants have registered for the BusinessAgreementWithComplete protocol then they will be expecting the application to inform them when all work intended for them has been sent (and responded to).
    Enlist a participant for the BusinessAgreementWithCoordinatorCompletion protocol.
    Enlist a participant for the BusinessAgreement protocol.
    abstract void
    Enlist the specified participant with current transaction such that it will participate in the 2PC protocol; a unique identifier for the participant is also required.
    abstract void
    Enlist the specified participant with current transaction such that it will participate in the Volatile 2PC protocol; a unique identifier for the participant is also required.
    abstract void
    UserTransaction.rollback()
    The rollback operation will terminate the transaction and return normally if it succeeded, while throwing an appropriate exception if it didn't.
  • Uses of WrongStateException in com.arjuna.wst

    Methods in com.arjuna.wst that throw WrongStateException
    Modifier and Type
    Method
    Description
    void
    BusinessAgreementWithParticipantCompletionParticipant.cancel()
    The transaction has cancelled, and the participant should undo any work.
    void
    BusinessAgreementWithParticipantCompletionParticipant.close()
    The transaction has completed successfully.
    void
    Participant.commit()
    The participant should make permanent the work that it controls.
    void
    BusinessAgreementWithParticipantCompletionParticipant.compensate()
    The transaction has cancelled.
    void
    BusinessAgreementWithCoordinatorCompletionParticipant.complete()
    The coordinator is informing the participant that all work it needs to do within the scope of this business activity has been received.
    Participant.prepare()
    Perform any work necessary to allow it to either commit or rollback the work performed by the Web service under the scope of the transaction.
    void
    Participant.rollback()
    The participant should undo the work that it controls.
  • Uses of WrongStateException in com.arjuna.wst11

    Modifier and Type
    Method
    Description
    void
    BAParticipantManager.cannotComplete()
    Cannot complete.
    void
    BAParticipantManager.completed()
    The participant has completed it works, but wishes to continue in the business activity, so that it will eventually be told when (and how) the activity terminates.
    void
    BAParticipantManager.exit()
    The participant has exited the business activity.
  • Uses of WrongStateException in com.arjuna.wst11.stub

    Modifier and Type
    Method
    Description
    void
    BusinessAgreementWithCoordinatorCompletionStub.cancel()
     
    void
    BusinessAgreementWithParticipantCompletionStub.cancel()
     
    void
    SubordinateCoordinatorCompletionParticipantStub.cancel()
     
    void
    BACoordinatorCompletionParticipantManagerStub.cannotComplete()
     
    void
    BAParticipantCompletionParticipantManagerStub.cannotComplete()
     
    void
    BusinessAgreementWithCoordinatorCompletionStub.close()
     
    void
    BusinessAgreementWithParticipantCompletionStub.close()
     
    void
    SubordinateCoordinatorCompletionParticipantStub.close()
     
    void
    ParticipantStub.commit()
     
    void
    SubordinateDurable2PCStub.commit()
    this will be called when the parent coordinator commits its durable participants and should ensure that the interposed cooordinator does the same
    void
    SubordinateVolatile2PCStub.commit()
    this is called as part of the after completion processing and should ensure that the interposed coordinator performs its afterCompletion processing
    void
    BusinessAgreementWithCoordinatorCompletionStub.compensate()
     
    void
    BusinessAgreementWithParticipantCompletionStub.compensate()
     
    void
    SubordinateCoordinatorCompletionParticipantStub.compensate()
     
    void
    BusinessAgreementWithCoordinatorCompletionStub.complete()
     
    void
    SubordinateCoordinatorCompletionParticipantStub.complete()
     
    void
    BACoordinatorCompletionParticipantManagerStub.completed()
     
    void
    BAParticipantCompletionParticipantManagerStub.completed()
     
    void
    BACoordinatorCompletionParticipantManagerStub.exit()
     
    void
    BAParticipantCompletionParticipantManagerStub.exit()
     
    ParticipantStub.prepare()
     
    SubordinateDurable2PCStub.prepare()
    This will be called when the parent coordinator is preparing its durable participants and should ensure that the interposed cooordinator does the same.
    SubordinateVolatile2PCStub.prepare()
    This will be called when the parent coordinator is preparing its volatile participants and should ensure that the interposed cooordinator does the same.
    void
    ParticipantStub.rollback()
     
    void
    SubordinateDurable2PCStub.rollback()
    this will be called when the parent coordinator rolls back its durable participants and should ensure that the interposed cooordinator does the same
    void
    SubordinateVolatile2PCStub.rollback()
    this is called as part of the after completion processing and should ensure that the interposed coordinator performs its afterCompletion processing
  • Uses of WrongStateException in org.jboss.jbossts.txbridge.inbound

    Modifier and Type
    Method
    Description
    void
    BridgeDurableParticipant.commit()
    The participant should make permanent the work that it controls.
    void
    BridgeVolatileParticipant.commit()
    Perform afterCompletion cleanup activities such as releasing resources.
    InboundBridgeManager.getInboundBridge()
    Return an InboundBridge instance that maps the current Thread's WS transaction context to a JTA context.
    BridgeDurableParticipant.prepare()
    Perform any work necessary to allow it to either commit or rollback the work performed by the Web service under the scope of the transaction.
    BridgeVolatileParticipant.prepare()
    Perform beforeCompletion activities such as flushing cached state to stable store.
    void
    BridgeDurableParticipant.rollback()
    The participant should undo the work that it controls.
    void
    BridgeVolatileParticipant.rollback()
    Perform afterCompletion cleanup activities such as releasing resources.