CORBA Programming Reference
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Locates the BEA Tuxedo FactoryFinder object and removes a factory.
static void
TP::unregister_factory
(
CORBA::Object_ptr factory_or, const char* factory_id);
Specifies the object reference that was created for an application factory using the TP::create_object_reference()
method.
Specifies a string identifier that is used to identify the application factory. For some suggestions as to the composition of this string, see Creating CORBA Server Applications.
The following exceptions can be raised by the unregister_factory()
method:
Indicates that the id
string is empty. It is also raised if the field contains blank spaces or control characters.
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.
This method locates the BEA Tuxedo FactoryFinder object and removes a factory. Typically TP::unregister_factory()
is invoked from Server::release()
to unregister server factories.
![]() ![]() |
![]() |
![]() |