org.openorb.ccs.kernel
Class LockCoordinator

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosConcurrencyControl.LockCoordinatorPOA
          extended by org.openorb.ccs.kernel.LockCoordinator
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, LockCoordinatorOperations

public class LockCoordinator
extends LockCoordinatorPOA

This class enables a transaction service to drop all locks held by the transaction

Author:
Marina Daniel

Constructor Summary
LockCoordinator(org.omg.CosTransactions.Coordinator current)
          Constructor which link the LockCoordinator to the coordinator of the transaction
 
Method Summary
 void addTransactionalLockSet(TransactionalLockSet t_lockSet)
          add a transactional lock set to this LockCoordinator
 void drop_locks()
          Releases all locks held by the transaction
 
Methods inherited from class org.omg.CosConcurrencyControl.LockCoordinatorPOA
_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

LockCoordinator

public LockCoordinator(org.omg.CosTransactions.Coordinator current)
Constructor which link the LockCoordinator to the coordinator of the transaction

Parameters:
current - the transactional coordinator
Method Detail

drop_locks

public void drop_locks()
Releases all locks held by the transaction


addTransactionalLockSet

public void addTransactionalLockSet(TransactionalLockSet t_lockSet)
add a transactional lock set to this LockCoordinator

Parameters:
t_lockSet - the transactionalLockSet