[omniORB] object key in IOR

Randy Shoup rshoup@tumbleweed.com
Fri, 09 Apr 1999 11:29:51 -0700


Frank --

Frank Lynch wrote:
> 
> Hi all,
> I just need to know if its possible to set the object key for an object in
> omniORB. With Orbix you can set the marker for an object, I'm looking for
> something that provides the same functionality.
> TIA

No problem.  Every generated skeleton class has two ctors:  a default
ctor where the object key is generated, and a ctor which takes the
object key.  We use this extensively to do on-demand loading of
"persistent" CORBA objects.

-- Randy
_________________________________________________________________  
Randy Shoup                                     (650)569-3682  
Software Architect                              rshoup@tumbleweed.com  
Tumbleweed Software Corporation