public class GenericRecoveryCoordinator extends RecoveryCoordinatorPOA
Modifier | Constructor and Description |
---|---|
protected |
GenericRecoveryCoordinator()
protected constructor used by default servant derived class (with POA orbs).
|
|
GenericRecoveryCoordinator(Uid RCUid,
Uid actionUid,
Uid processUid,
boolean isServerTransaction)
Normal constructor.
|
Modifier and Type | Method and Description |
---|---|
static String |
makeId(Uid rcUid,
Uid tranUid,
Uid processUid,
boolean isServerTransaction)
Construct a string, to be used somehow in the objectkey (probably)
of a RecoveryCoordinator reference.
|
static GenericRecoveryCoordinator |
reconstruct(String encodedRCData)
(re)construct a RecoveryCoordinator instance using the encoded information
in the parameter.
|
protected static Status |
replay_completion(RecoveryCoordinatorId id,
Resource res)
Respond to a replay_completion request for the RecoveryCoordinator
identified by parameter id.
|
Status |
replay_completion(Resource res)
Implementation of IDL method:
|
_all_interfaces, _invoke, _this, _this
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
public GenericRecoveryCoordinator(Uid RCUid, Uid actionUid, Uid processUid, boolean isServerTransaction)
Combines the parameters into a RecoveryCoordinatorId
.
protected GenericRecoveryCoordinator()
public Status replay_completion(Resource res) throws SystemException, NotPrepared
Operation: ::CosTransactions::RecoveryCoordinator::replay_completion.
#pragma prefix "omg.org/CosTransactions/RecoveryCoordinator" ::CosTransactions::Status replay_completion( in ::CosTransactions::Resource r ) raises( ::CosTransactions::NotPrepared );This method is used when the instance is used as a particular implementation object (i.e. not as default servant). Delegates to the static
replay_completion
using the RecoveryCoordinatorId
made in the constructor.SystemException
NotPrepared
protected static Status replay_completion(RecoveryCoordinatorId id, Resource res) throws SystemException, NotPrepared
SystemException
NotPrepared
public static String makeId(Uid rcUid, Uid tranUid, Uid processUid, boolean isServerTransaction)
public static GenericRecoveryCoordinator reconstruct(String encodedRCData)
makeId
and has been passed around as part of the object key
in the RecoveryCoordinator IOR.Copyright © 2021 JBoss by Red Hat. All rights reserved.