try {
String pluginId = configElements[i].getDeclaringExtension().getContributor().getName();
// Only add the factories if the contributor plugin has not been excluded
if (!pluginExcluded(pluginId)) {
// First create factory clazz
final IRetrieveFileTransferFactory retrieveFactory = (IRetrieveFileTransferFactory) configElements[i].createExecutableExtension(CLASS_ATTR);
// Get priority for new entry, if optional priority attribute specified
int priority = getPriority(configElements[i], CONTRIBUTION_WARNING, protocol);
String contributorName = configElements[i].getDeclaringExtension().getContributor().getName();
// Now add new ProtocolFactory
setRetrieveFileTransferFactory(protocol, contributorName, retrieveFactory, priority, uri);