- ComponentProvider componentProvider = componentProviders.get(className);
- if (componentProvider != null)
- return componentProvider.create(model, params);
+ ComponentSupplier componentSupplier = componentSuppliers.get(className);
+ if (componentSupplier != null)
+ return componentSupplier.create(model, params);
} else
// we know id has to start with "file:" here
// because standardComponentIDs only contains strings starting with "class:" or "file:"
return SubmodelComponentDeserializer.create(model, resolvedID.substring(5));
}
} else
// we know id has to start with "file:" here
// because standardComponentIDs only contains strings starting with "class:" or "file:"
return SubmodelComponentDeserializer.create(model, resolvedID.substring(5));
}