factories.initDefault();
}
// initilaize explicit protocol factories
NodeList lstProtocol = (NodeList) xpath.evaluate("protocol", ndProtocols, XPathConstants.NODESET);
for (Node ndProto : new NodeListAdapter(lstProtocol)) {
String factoryClass = (String) xpath.evaluate("@factoryClass", ndProto, XPathConstants.STRING);
try {
Class fc = Class.forName(factoryClass);
ProtocolFactory factory = (ProtocolFactory) fc.newInstance();
ProtocolInitializer.init(factory, ndProto);