manager.put(loader, new DIContainerFactory(loader));
}
private DIContainerFactory getFactory(ClassLoader loader) {
if (loader == null) loader = ClassUtils.getDefaultClassLoader();
DIContainerFactory factory = manager.get(loader);
if (factory == null) {
factory = new DIContainerFactory(loader);
manager.put(loader, factory);
}
return factory;
}