// TODO annotations: Externalize message
throw new ApplicationRuntimeException("ServicePoint used as ServiceImplementationFactory must be of type XmlServicePointDefinitionImpl");
}
XmlServicePointDefinitionImpl xmlServicePoint = (XmlServicePointDefinitionImpl) spd;
Schema schema = xmlServicePoint.getParametersSchema();
if (schema != null) {
Occurances expected = xmlServicePoint.getParametersCount();
checkParameterCounts(errorLog, expected);
SchemaProcessorImpl processor = new SchemaProcessorImpl(errorLog, schema);
_convertedParameters = constructParametersContainer(schema.getRootElementClassName(), factoryPoint.getModule());
processor.process(_convertedParameters, _parameters, contributingModule);
}
}
}