@Deprecated
   public void injectFactoryForComponent(Class<?> componentType, Class<?> factoryType) {
      factories.put(componentType.getName(), factoryType.getName());
   }
@ Deprecated public void injectFactoryForComponent ( Class < ? > componentType , Class < ? > factoryType ) { factories . put ( componentType . getName ( ) , factoryType . getName ( ) ) ; }
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.