CORBA Programming Reference
Returns a pointer to a Tobj::Tobj_Bootstrap
object. The Bootstrap object is used to access initial object references for the FactoryFinder object, the Interface Repository, the TransactionCurrent, and the SecurityCurrent objects.
static Tobj_Bootstrap* TP::bootstrap
();
Upon successful completion, bootstrap()
returns a pointer to the Tobj::Tobj_Bootstrap
object that is created by the TP Framework when the server application is started.
The TP Framework creates a Tobj::Tobj_Bootstrap
object as part of initialization; it is not necessary for the application code to create any other Tobj::Tobj_Bootstrap
objects in the server.
Caution: Because the TP Framework owns the Tobj::Tobj_Bootstrap
object, server application code must not dispose of the Bootstrap object.
Note: If you are using the CORBA INS bootstrap mechanism and you are not using the SecurityCurrent
for security or TransactionCurrent
for transactions, you do not need to use the Bootstrap object.