CORBA Programming Reference
Tells the TP Framework that the application is taking responsibility for the servant's lifetime.
Note: Do not use this method in applications written using BEA Tuxedo release 8.0 or later; instead, use the Tobj_ServantBase::_add_ref()
method.
static void application_responsibility(Tobj_Servant servant);
This method tells the TP Framework that the application is taking responsibility for the servant's lifetime. As a result of this call, when the TP Framework has completed deactivating the object (that is, after invoking the servant's deactivate_object
method), the TP Framework does nothing more with the object.
Once an application has taken responsibility for a servant, the application must take care to delete servant when it is no longer needed, the same as for any other C++ instance.
If the servant is not known to the TP Framework (that is, it is not active), this call has no effect.