org.openorb.ots
Class _ManagerCallbackStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.openorb.ots._ManagerCallbackStub
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, ManagerCallback, ManagerCallbackOperations

public class _ManagerCallbackStub
extends org.omg.CORBA.portable.ObjectImpl
implements ManagerCallback

To manage transactions, a user has to register a ManagerCallback object to the OTS manager. By this way, the user manager will be notified when transactions begin, commit or rollback.

See Also:
Serialized Form

Constructor Summary
_ManagerCallbackStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 void transaction_committed(XID id)
          Operation transaction_committed
 void transaction_created(Control control, XID id)
          Operation transaction_created
 void transaction_heuristic(XID id, HeuristicKind heuristic)
          Operation transaction_heuristic
 void transaction_rolledback(XID id)
          Operation transaction_rolledback
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

_ManagerCallbackStub

public _ManagerCallbackStub()
Method Detail

_ids

public java.lang.String[] _ids()
Specified by:
_ids in class org.omg.CORBA.portable.ObjectImpl

transaction_created

public void transaction_created(Control control,
                                XID id)
Operation transaction_created

Specified by:
transaction_created in interface ManagerCallbackOperations
Parameters:
control - the new available control to manage this transaction
id - the transaction XID

transaction_committed

public void transaction_committed(XID id)
Operation transaction_committed

Specified by:
transaction_committed in interface ManagerCallbackOperations
Parameters:
id - the transaction XID

transaction_rolledback

public void transaction_rolledback(XID id)
Operation transaction_rolledback

Specified by:
transaction_rolledback in interface ManagerCallbackOperations
Parameters:
id - the transaction XID

transaction_heuristic

public void transaction_heuristic(XID id,
                                  HeuristicKind heuristic)
Operation transaction_heuristic

Specified by:
transaction_heuristic in interface ManagerCallbackOperations
Parameters:
id - the transaction XID