org.omg.CosTransactions
Class CoordinatorPOATie

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosTransactions.CoordinatorPOA
          extended by org.omg.CosTransactions.CoordinatorPOATie
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, CoordinatorOperations

public class CoordinatorPOATie
extends CoordinatorPOA

The Coordinator interface provides operations that are used by participants in a transaction. These participants are typically either recoverable objects or agents of recoverable objects, such as subordinate coordinators. Each object supporting the Coordinator interface is implicitly associated with a single transaction.


Constructor Summary
CoordinatorPOATie(CoordinatorOperations tieObject)
          Constructor
CoordinatorPOATie(CoordinatorOperations tieObject, org.omg.PortableServer.POA poa)
          Constructor
 
Method Summary
 org.omg.PortableServer.POA _default_POA()
          _default_POA method
 CoordinatorOperations _delegate()
          Get the delegate
 void _delegate(CoordinatorOperations delegate_)
          Set the delegate
 Control create_subtransaction()
          Operation create_subtransaction
 Status get_parent_status()
          Operation get_parent_status
 Status get_status()
          Operation get_status
 Status get_top_level_status()
          Operation get_top_level_status
 java.lang.String get_transaction_name()
          Operation get_transaction_name
 PropagationContext get_txcontext()
          Operation get_txcontext
 int hash_top_level_tran()
          Operation hash_top_level_tran
 int hash_transaction()
          Operation hash_transaction
 boolean is_ancestor_transaction(Coordinator tc)
          Operation is_ancestor_transaction
 boolean is_descendant_transaction(Coordinator tc)
          Operation is_descendant_transaction
 boolean is_related_transaction(Coordinator tc)
          Operation is_related_transaction
 boolean is_same_transaction(Coordinator tc)
          Operation is_same_transaction
 boolean is_top_level_transaction()
          Operation is_top_level_transaction
 RecoveryCoordinator register_resource(Resource r)
          Operation register_resource
 void register_subtran_aware(SubtransactionAwareResource r)
          Operation register_subtran_aware
 void register_synchronization(Synchronization sync)
          Operation register_synchronization
 void rollback_only()
          Operation rollback_only
 
Methods inherited from class org.omg.CosTransactions.CoordinatorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_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

CoordinatorPOATie

public CoordinatorPOATie(CoordinatorOperations tieObject)
Constructor


CoordinatorPOATie

public CoordinatorPOATie(CoordinatorOperations tieObject,
                         org.omg.PortableServer.POA poa)
Constructor

Method Detail

_delegate

public CoordinatorOperations _delegate()
Get the delegate


_delegate

public void _delegate(CoordinatorOperations delegate_)
Set the delegate


_default_POA

public org.omg.PortableServer.POA _default_POA()
_default_POA method

Overrides:
_default_POA in class org.omg.PortableServer.Servant

get_status

public Status get_status()
Operation get_status


get_parent_status

public Status get_parent_status()
Operation get_parent_status


get_top_level_status

public Status get_top_level_status()
Operation get_top_level_status


is_same_transaction

public boolean is_same_transaction(Coordinator tc)
Operation is_same_transaction


is_related_transaction

public boolean is_related_transaction(Coordinator tc)
Operation is_related_transaction


is_ancestor_transaction

public boolean is_ancestor_transaction(Coordinator tc)
Operation is_ancestor_transaction


is_descendant_transaction

public boolean is_descendant_transaction(Coordinator tc)
Operation is_descendant_transaction


is_top_level_transaction

public boolean is_top_level_transaction()
Operation is_top_level_transaction


hash_transaction

public int hash_transaction()
Operation hash_transaction


hash_top_level_tran

public int hash_top_level_tran()
Operation hash_top_level_tran


register_resource

public RecoveryCoordinator register_resource(Resource r)
                                      throws Inactive
Operation register_resource

Throws:
Inactive

register_synchronization

public void register_synchronization(Synchronization sync)
                              throws Inactive,
                                     SynchronizationUnavailable
Operation register_synchronization

Throws:
Inactive
SynchronizationUnavailable

register_subtran_aware

public void register_subtran_aware(SubtransactionAwareResource r)
                            throws Inactive,
                                   NotSubtransaction
Operation register_subtran_aware

Throws:
Inactive
NotSubtransaction

rollback_only

public void rollback_only()
                   throws Inactive
Operation rollback_only

Throws:
Inactive

get_transaction_name

public java.lang.String get_transaction_name()
Operation get_transaction_name


create_subtransaction

public Control create_subtransaction()
                              throws SubtransactionsUnavailable,
                                     Inactive
Operation create_subtransaction

Throws:
SubtransactionsUnavailable
Inactive

get_txcontext

public PropagationContext get_txcontext()
                                 throws Unavailable
Operation get_txcontext

Throws:
Unavailable