[omniORB] Implementing a python version of Txn::Current

Scott Robertson srobertson@codeit.com
Fri Feb 21 05:05:02 2003


Duncan & the rest of the list.

I've successfully wrapped CosTransactions::Current in the same manner as
PortableServer::Current as a python module. Unfortunatly I've had to
hard code it's instantiation into pyObjRef::createPyPseudoObjRef (among
other places) just like it was done for PortableServant and other local
objects.   

This approach seems sub-bar to me because it means we either need to
distribute it as a batch to omniPY or get it included in the main
distribution...

Is there a better way to do this? If not can you help us devise a 
mechanism for local objects that are retrieved via
resolve_initial_refernces?



-- 
Scott Robertson <srobertson@codeit.com>
Codeit, LLC