@Override
public ModuleConfiguration getModuleConfiguration(Class<?> cls) {
URL jarUrl = cls.getProtectionDomain().getCodeSource().getLocation();
Configuration cfg = jarURLs.get(jarUrl.toString());
if(cfg != null) {
return new ModuleConfiguration(cfg);
} else {
return new ModuleConfiguration(new MapConfiguration(new HashMap<String, Object>()));
}
}