code: @Deprecated
     public void injectFactoryForComponent(Class<?> componentType, Class<?> factoryType) {
        factories.put(componentType.getName(), factoryType.getName());
     }
docs: Inject a factory for a given component type.
  
  @param componentType Component type that the factory will produce
  @param factoryType Factory that produces the given type of components
  @deprecated For testing purposes only.