}
private void importFactory(ImportSDO importSDO, ModelResolver resolver) throws ContributionResolveException {
String factoryName = importSDO.getFactoryClassName();
if (factoryName != null) {
ClassReference reference = new ClassReference(factoryName);
ClassReference resolved = resolver.resolveModel(ClassReference.class, reference);
if (resolved != null && !resolved.isUnresolved()) {
try {
Class<?> factoryClass = resolved.getJavaClass();
register(factoryClass, importSDO.getHelperContext());
importSDO.setUnresolved(false);
} catch (Exception e) {
ContributionResolveException ce = new ContributionResolveException(e);
error("ContributionResolveException", resolver, ce);