![]() |
![]() |
e-docs > Tuxedo > Administering a Tuxedo Application at Run Time > TP Framework |
Administering a Tuxedo Application at Run Time
|
TP::application_responsibility()
Synopsis
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.
C++ Binding
static void application_responsibility(Tobj_Servant servant);
Arguments
Exceptions
Description
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.
Return Values
None.
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |