Basic HTML version of Foils prepared July 6 99

Foil 152 IObjectContext - II

From Object Web Computing Technologies CPS714 Computational Science Information Track -- June 16 99. by H. Timucin Ozdemir


IObjectContext also defines the following functions:
  • SetComplete() : informs that an object finished its work successfully for the client and it can be committed by MTS and there is no need to keep the state of the object. Calling SetComplete() as often as possible allows MTS to get rid of objects that are no longer needed.
  • SetAbort(): informs the failure of the object's process and if this is done under a transaction it also informs MTS that this transaction should abort and object should be deactivated.
  • EnableCommit(): informs MTS that it is safe to commit the transaction and saving is no longer required but object did not quiet finished with its work yet.
  • DisableCommit(): informs MTS that it is not safe to commit the transaction, therefore, MTS should maintain the internal state of the object until further notice.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Jul 6 1999