diff options
Diffstat (limited to 'TAO/tao/ORB_Core.h')
-rw-r--r-- | TAO/tao/ORB_Core.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/TAO/tao/ORB_Core.h b/TAO/tao/ORB_Core.h index 9819b009388..a1bcfc7e8e4 100644 --- a/TAO/tao/ORB_Core.h +++ b/TAO/tao/ORB_Core.h @@ -707,6 +707,16 @@ public: /// object. CORBA::Object_ptr create_object (TAO_Stub *the_stub); + /// Initialize a new object, use the adapter registry to initialize a + /// collocated object, if not possible then initialize a regular + /// object. + /// NOTE: Why would this method be required? The answer is if the + /// user decides to use lazy initialization of CORBA object, then + /// this is the route that we have to take to do the + /// initialization. + CORBA::Long initialize_object (TAO_Stub *the_stub, + CORBA::Object_ptr obj); + /// Return ORBid string. const char *orbid (void) const; @@ -1009,6 +1019,11 @@ private: TAO_ORB_Core *other_orb, const TAO_MProfile &mprofile); + /// Try to initialize a new collocated object, using <other_orb> as the + /// target ORB. If not possible return -1. + CORBA::Long initialize_collocated_object (TAO_Stub *the_stub, + TAO_ORB_Core *other_orb, + CORBA::Object_ptr obj); protected: /// Synchronize internal state... |