5.3.2.6 Description
The find_one_factory
method is called by an
application to obtain a reference to a single factory object whose
key matches the value of the key specified as input to the method.
If more than one factory object is registered with the specified
key, the FactoryFinder selects one factory object based on the
FactoryFinder’s load balancing scheme. As a result, invoking
the find_one_factory
method multiple times using the
same key may return different object references.
The scope of the key is the FactoryFinder. The FactoryFinder assigns no semantics to the key. It simply matches keys. It makes no guarantees about the interface or implementation of the returned factory or objects they create.
Key values are considered equal if they are of equal length (same number of elements in the sequence), and if every NameComponent value in the key matches the corresponding NameComponent value at the exact same location in the key that was specified when the reference to the factory object was registered.
Parent topic: Tobj::FactoryFinder::find_one_factory