Search in sources :

Example 1 with ParticipantRecord

use of com.arjuna.mwlabs.wscf.model.sagas.arjunacore.ParticipantRecord in project narayana by jbosstm.

the class RecoveryBACoordinator method setRecoveryCoordinator.

/**
 * provide the recovered participants with a handle on this coordinator so they can
 * propagate events through to it.
 */
public void setRecoveryCoordinator() {
    if (preparedList != null) {
        RecordListIterator iter = new RecordListIterator(preparedList);
        AbstractRecord absRec = iter.iterate();
        while (absRec != null) {
            if (absRec instanceof ParticipantRecord) {
                ParticipantRecord pr = (ParticipantRecord) absRec;
            }
            absRec = iter.iterate();
        }
    }
}
Also used : RecordListIterator(com.arjuna.ats.arjuna.coordinator.RecordListIterator) AbstractRecord(com.arjuna.ats.arjuna.coordinator.AbstractRecord) ParticipantRecord(com.arjuna.mwlabs.wscf.model.sagas.arjunacore.ParticipantRecord)

Aggregations

AbstractRecord (com.arjuna.ats.arjuna.coordinator.AbstractRecord)1 RecordListIterator (com.arjuna.ats.arjuna.coordinator.RecordListIterator)1 ParticipantRecord (com.arjuna.mwlabs.wscf.model.sagas.arjunacore.ParticipantRecord)1