code: public static ServerConfiguration getConfig(File serverHome) {
          try {
              InputStream fcfg = new FileInputStream(
                      new File(serverHome,
                               "config/fedora.fcfg"));
              ServerConfigurationParser parser =
                  new ServerConfigurationParser(fcfg);
              return parser.parse();
          } catch (IOException e) {
              throw new FaultException("Error loading server configuration",
                                       e);
          }
      }
docs: Gets the server configuration under a given $FEDORA_HOME/server/ directory.
  @param serverHome the server directory
  @return the server configuration.