boolean loadLibraryResources) {
ClassLoader defaultClassLoader = ClassUtils.getDefaultClassLoader();
ModuleDefinition definition = null;
ClassLoaderOptions loadParentFirst = new ClassLoaderOptions(true, true, true, true);
DelegateClassLoader delegateClassLoader = null;
ClassRetriever moduleResourceRetriever = new URLClassRetriever(new File[0]);
LibraryAwareGraphClassLoader cl = new LibraryAwareGraphClassLoader(defaultClassLoader, delegateClassLoader, moduleResourceRetriever, moduleLibraryRetriever, definition, loadParentFirst);
return cl;
}