code: public static ProtocolStackConfigurator getStackConfigurator(Element element) throws Exception {
          checkForNullConfiguration(element);
          return XmlConfigurator.getInstance(element);
      }
docs: Returns a protocol stack configurator based on the XML configuration provided by the specified XML element.
  
  @param element a XML element containing a JGroups XML configuration.
  @return a {@code ProtocolStackConfigurator} containing the stack configuration.
  @throws Exception if problems occur during the configuration of the protocol stack.