org.omg.CosTransactions
Class TerminatorPOATie

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosTransactions.TerminatorPOA
          extended by org.omg.CosTransactions.TerminatorPOATie
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, TerminatorOperations

public class TerminatorPOATie
extends TerminatorPOA

The Terminator interface supports operations to commit or rollback a transaction. Typically, these operations are used by the transaction originator.


Constructor Summary
TerminatorPOATie(TerminatorOperations tieObject)
          Constructor
TerminatorPOATie(TerminatorOperations tieObject, org.omg.PortableServer.POA poa)
          Constructor
 
Method Summary
 org.omg.PortableServer.POA _default_POA()
          _default_POA method
 TerminatorOperations _delegate()
          Get the delegate
 void _delegate(TerminatorOperations delegate_)
          Set the delegate
 void commit(boolean report_heuristics)
          Operation commit
 void rollback()
          Operation rollback
 
Methods inherited from class org.omg.CosTransactions.TerminatorPOA
_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

TerminatorPOATie

public TerminatorPOATie(TerminatorOperations tieObject)
Constructor


TerminatorPOATie

public TerminatorPOATie(TerminatorOperations tieObject,
                        org.omg.PortableServer.POA poa)
Constructor

Method Detail

_delegate

public TerminatorOperations _delegate()
Get the delegate


_delegate

public void _delegate(TerminatorOperations 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

commit

public void commit(boolean report_heuristics)
            throws HeuristicMixed,
                   HeuristicHazard
Operation commit

Throws:
HeuristicMixed
HeuristicHazard

rollback

public void rollback()
Operation rollback