+
+ if (conf.getObject(protocolName) != null) {
+return (Protocol) conf.getObject(protocolName);
+ } else {
+Extension extension = findExtension(protocolName);
+if (extension == null) {
+ throw new ProtocolNotFound(protocolName);
+}
I'm
I'm somewhat worried about the possible clash in the conf name-space -
usually, when we store Object's in Configuration instance, we use their
full class name, or at least a long and most probably unique string. In
this case, we use just http, https, ftp, file and so on ...
Would it make sense if