org.openorb.ots.Impl
Class RecoveryCoordinator

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosTransactions.RecoveryCoordinatorPOA
          extended by org.openorb.ots.Impl.RecoveryCoordinator
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, RecoveryCoordinatorOperations

public class RecoveryCoordinator
extends RecoveryCoordinatorPOA

This class is the implementation of the recovery coordinator interface.

Author:
Jerome Daniel

Constructor Summary
RecoveryCoordinator(org.omg.CORBA.ORB orb, org.apache.avalon.framework.logger.Logger logger)
          Constructor
 
Method Summary
 Status replay_completion(Resource r)
          This operation can be invoked at any time after the associated resource has been prepared.
 
Methods inherited from class org.omg.CosTransactions.RecoveryCoordinatorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecoveryCoordinator

public RecoveryCoordinator(org.omg.CORBA.ORB orb,
                           org.apache.avalon.framework.logger.Logger logger)
Constructor

Method Detail

replay_completion

public Status replay_completion(Resource r)
                         throws NotPrepared
This operation can be invoked at any time after the associated resource has been prepared. The Resource must be passed as the parameter. Performing this operation provides a hint to the Coordinator that the commit or rollback operations have not been performed on the resource. This hint may be required in certain failure cases. This non- blocking operation returns the current status of the transaction. The NotPrepared exception is raised if the resource has not been prepared.

Throws:
NotPrepared