Class SubordinateDurable2PCStub

java.lang.Object
com.arjuna.wst11.stub.SubordinateDurable2PCStub
All Implemented Interfaces:
Durable2PCParticipant, Participant, PersistableParticipant, PersistableATParticipant

public class SubordinateDurable2PCStub extends Object implements Durable2PCParticipant, PersistableParticipant, PersistableATParticipant
A durable participant registered on behalf of an interposed WS-AT coordinator in order to ensure that durable participants in the subtransaction prepared, committed and aborted at the right time.
  • Constructor Summary

    Constructors
    Constructor
    Description
    empty constructor for use only during recovery
    SubordinateDurable2PCStub(com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator coordinator)
    normal constructor used when the subordinate coordinator is registered as a durable participant with its parent coordinator.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    this will be called when the parent coordinator commits its durable participants and should ensure that the interposed cooordinator does the same
    void
    this should never get called
    byte[]
    this participant implements the PersistableATarticipant interface so it can save its state.
    boolean
    test if this participant is recovered
    This will be called when the parent coordinator is preparing its durable participants and should ensure that the interposed cooordinator does the same.
    boolean
    Restore the state of the particpant from the specified input object stream.
    void
    this will be called when the parent coordinator rolls back its durable participants and should ensure that the interposed cooordinator does the same
    boolean
    Save the state of the particpant to the specified input object stream.
    void
    this should never get called

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SubordinateDurable2PCStub

      public SubordinateDurable2PCStub(com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator coordinator)
      normal constructor used when the subordinate coordinator is registered as a durable participant with its parent coordinator.
      Parameters:
      coordinator -
    • SubordinateDurable2PCStub

      public SubordinateDurable2PCStub()
      empty constructor for use only during recovery
  • Method Details