no, the factory operates outside the scope of the form. It's a function that is part of the core framework, not a loader class on the form:
AddObjectX(Thisform, "name", "id")
This function resolves id, determines it needs to add two objects to Thisform: Name and envName. The classes used for these two objects are specified in a separate definition file.