factoryInterface = Class.forName (factoryInterfaceName);
String factoryImplName = (String)factories.get(factoryInterfaceName);
Class factoryImpl = Class.forName (factoryImplName);
Factory factory = (Factory) factoryImpl.newInstance ();
ContainerUtil.enableLogging(factory, this.getLogger());
ContainerUtil.contextualize(factory, this.context);
ContainerUtil.service(factory, this.manager);
ContainerUtil.initialize(factory);
factory.init(this.servletConfig, new HashMap());
factoryMap.put (factoryInterface.getName(), factory);
// build up list in reverse order for later destruction
factoryList.add (0, factory);