Instantiates a component using a method from other component (factory method pattern).
Encapsulates construction of component using factory method.
Arguments that are RuntimeReferences, will be replaced with components extracted
from locator, and passed to factory's method.
In case when method is not static member, the algorithm will use
an instantiaton of factory passed to it, or extracted from locator
if a RuntimeReference is passed.
Instantiates a component using a method from other component (factory method pattern).
Encapsulates construction of component using factory method. Arguments that are RuntimeReferences, will be replaced with components extracted from locator, and passed to factory's method. In case when method is not static member, the algorithm will use an instantiaton of factory passed to it, or extracted from locator if a RuntimeReference is passed.