if( parent == null ) {
ClassLoaderResolver resolver;
try {
resolver = ServiceRegistryImpl.getInstance().get(ClassLoaderResolver.class);
} catch ( Exception cne ) {
resolver = new NoDepsClassLoaderResolver();
}
parent = resolver.getClassLoader( kieModule );
}
this.cl = createProjectClassLoader( parent, createKieModuleResourceProvider(kieModule) );
}