code: public static ProtocolStackConfigurator getStackConfigurator(File file) throws Exception {
          checkJAXPAvailability();
          InputStream input=getConfigStream(file);
          return XmlConfigurator.getInstance(input);
      }
docs: Returns a protocol stack configurator based on the XML configuration provided by the specified File.
  
  @param file a File with a JGroups XML configuration.
  @return a {@code ProtocolStackConfigurator} containing the stack configuration.
  @throws Exception if problems occur during the configuration of the protocol stack.