/** * */ public Status getOriginalStatus () { if (_recoveryStatus != RecoveryStatus.ACTIVATE_FAILED) { try { return StatusChecker.get_status(get_uid(), _originalProcessUid); } catch (Inactive ex) { // shouldn't happen! return Status.StatusUnknown; } } else { // if it can't be activated, we can't get the process uid return Status.StatusUnknown; } }
/** * */ public Status getOriginalStatus () { if (_recoveryStatus != RecoveryStatus.ACTIVATE_FAILED) { try { return StatusChecker.get_status(get_uid(), _originalProcessUid); } catch (Inactive ex) { // shouldn't happen! return Status.StatusUnknown; } } else { // if it can't be activated, we can't get the process uid return Status.StatusUnknown; } }
/** * Check the status of this transaction state, i.e., that represented by * get_uid and not getSavingUid */ public Status getOriginalStatus () { if (_recoveryStatus != RecoveryStatus.ACTIVATE_FAILED) { try { /* * Remember to get the status on the actual global transaction * and not on the local branch, i.e., use get_uid and not * getSavingUid */ return StatusChecker.get_status(get_uid(), _originalProcessUid); } catch (Inactive ex) { // shouldn't happen!! return Status.StatusUnknown; } } else { // if it can't be activated, we cant get the process uid return Status.StatusUnknown; } }
/** * Check the status of this transaction state, i.e., that represented by * get_uid and not getSavingUid */ public Status getOriginalStatus () { if (_recoveryStatus != RecoveryStatus.ACTIVATE_FAILED) { try { /* * Remember to get the status on the actual global transaction * and not on the local branch, i.e., use get_uid and not * getSavingUid */ return StatusChecker.get_status(get_uid(), _originalProcessUid); } catch (Inactive ex) { // shouldn't happen!! return Status.StatusUnknown; } } else { // if it can't be activated, we cant get the process uid return Status.StatusUnknown; } }
/** * Check the status of this transaction state, i.e., that represented by * get_uid and not getSavingUid */ public Status getOriginalStatus () { if (_recoveryStatus != RecoveryStatus.ACTIVATE_FAILED) { try { /* * Remember to get the status on the actual global transaction * and not on the local branch, i.e., use get_uid and not * getSavingUid */ return StatusChecker.get_status(get_uid(), _originalProcessUid); } catch (Inactive ex) { // shouldn't happen!! return Status.StatusUnknown; } } else { // if it can't be activated, we cant get the process uid return Status.StatusUnknown; } }