5.3.4.6 Description
The find_factories_by_id method is called by an
application to obtain a sequence of one or more factory object
references. The method is passed a NULL-terminated string that
contains the identifier of the factory to be located. If more than
one factory object is registered with the specified ID, the
FactoryFinder will return a list of object references for the
matching registered factory objects.
The find_factories_by_id method behaves the same as
the find_factory operation that was passed a key that
contains a single NameComponent with an id field that
contains the same value as the factory_id parameter
and a kind field that contains the value
“FactoryInterface”.
The registered identifier for a factory is considered equal to
the value of the factory_id parameter if the result of
constructing a CosLifeCycle::Key structure containing
a single NameComponent that has the factory_id
parameter as the value of the id field and the value
“FactoryInterface” as the value of the
kind field. The values must match exactly in all
respects (case, location, etc.).
Parent topic: Tobj::FactoryFinder::find_factories_by_id