/** * (re)construct a RecoveryCoordinator instance using the encoded information * in the parameter. The encoded information was (we hope) created using * {@link #makeId makeId} and has been passed around as part of the object key * in the RecoveryCoordinator IOR. */ public static GenericRecoveryCoordinator reconstruct(String encodedRCData) { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug("GenericRecoveryCoordinator.reconstruct(" + encodedRCData + ")"); } RecoveryCoordinatorId id = RecoveryCoordinatorId.reconstruct(encodedRCData); if (id != null) { return new GenericRecoveryCoordinator(id); } else { // already traced return null; } }
/** * Implementation of IDL method: * <p> * Operation: <b>::CosTransactions::RecoveryCoordinator::replay_completion</b>. * <pre> * #pragma prefix "omg.org/CosTransactions/RecoveryCoordinator" * ::CosTransactions::Status replay_completion( * in ::CosTransactions::Resource r * ) * raises( * ::CosTransactions::NotPrepared * ); * </pre> * </p> * This method is used when the instance is used as a particular implementation * object (i.e. <i>not</i> as default servant). Delegates to the static * {@link #replay_completion(RecoveryCoordinatorId, Resource) replay_completion} * using the {@link RecoveryCoordinatorId} made in the constructor. */ public Status replay_completion ( Resource res ) throws SystemException, NotPrepared { return GenericRecoveryCoordinator.replay_completion(_id, res); }
String rcObjectId = GenericRecoveryCoordinator.makeId(RCUid, tranUid, processUid, isServerTransaction);
currentStatus = get_status(id._actionUid, id._originalProcessUid);
String rcObjectId = GenericRecoveryCoordinator.makeId(RCUid, tranUid, processUid, isServerTransaction);
currentStatus = get_status(id._actionUid, id._originalProcessUid);
/** * Implementation of IDL method: * <p> * Operation: <b>::CosTransactions::RecoveryCoordinator::replay_completion</b>. * <pre> * #pragma prefix "omg.org/CosTransactions/RecoveryCoordinator" * ::CosTransactions::Status replay_completion( * in ::CosTransactions::Resource r * ) * raises( * ::CosTransactions::NotPrepared * ); * </pre> * </p> * This method is used when the instance is used as a particular implementation * object (i.e. <i>not</i> as default servant). Delegates to the static * {@link #replay_completion(RecoveryCoordinatorId, Resource) replay_completion} * using the {@link RecoveryCoordinatorId} made in the constructor. */ public Status replay_completion ( Resource res ) throws SystemException, NotPrepared { return GenericRecoveryCoordinator.replay_completion(_id, res); }
String rcObjectId = GenericRecoveryCoordinator.makeId(RCUid, tranUid, processUid, isServerTransaction);
/** * (re)construct a RecoveryCoordinator instance using the encoded information * in the parameter. The encoded information was (we hope) created using * {@link #makeId makeId} and has been passed around as part of the object key * in the RecoveryCoordinator IOR. */ public static GenericRecoveryCoordinator reconstruct(String encodedRCData) { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_CRASH_RECOVERY, "GenericRecoveryCoordinator.reconstruct(" + encodedRCData + ")"); } RecoveryCoordinatorId id = RecoveryCoordinatorId.reconstruct(encodedRCData); if (id != null) { return new GenericRecoveryCoordinator(id); } else { // already traced return null; } }
return GenericRecoveryCoordinator.replay_completion(recovCoId, res);
return GenericRecoveryCoordinator.replay_completion(recovCoId, res);
return GenericRecoveryCoordinator.replay_completion(recovCoId, res);