![]() |
![]() |
e-docs > Tuxedo > Administering a Tuxedo Application at Run Time > TP Framework |
Administering a Tuxedo Application at Run Time
|
Synopsis
Locates the BEA Tuxedo FactoryFinder object and registers a BEA Tuxedo factory.
C++ Binding
static void TP::register_factory(
CORBA::Object_ptr factory_or, const char* factory_id);
Arguments
Exceptions
The following exceptions can be raised by the register_factory() method:
Note: Another possible reason that this exception might occur is that the FactoryFinder cannot participate in a transaction. Therefore, you may need to suspend the current transaction before issuing the TP::register_factory() and TP::unregister_factory() calls. For information on suspending and resuming transactions, see Using CORBA Transactions in the online documentation.
Description
This method locates the BEA Tuxedo FactoryFinder object and registers a BEA Tuxedo factory. Typically, TP::register_factory() is invoked from Server::initialize() when the server creates its factories. The register_factory() method locates the BEA Tuxedo FactoryFinder object and registers the BEA Tuxedo factory.
Caution: Callback objects (that is, those created by a joint client/server directly through the POA) should not be registered with a FactoryFinder.
Return Value
None.
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |