5.5.1.1 Registering a Reference to a Factory Object

The following code snippet shows how to use the TP Framework interface to register a reference to a factory object with a FactoryFinder.

// Server Application: Registering a factory.
// C++ Example.

TP::register_factory( factory_obj.in( ), “TellerFactory” );