jill/src/main/java/io/github/agentsoz/jill/Program.java
static boolean loadExtensions(Config config) {
    if (config.getExtensions() == null) {
      return true;
    }
    for (Config.ExtensionData extensionData : config.getExtensions()) {
      JillExtension extension = ProgramLoader.loadExtension(extensionData.getClassname());
      if (extension != null) {
        Program.registerExtension(extension);
        extension.init(extensionData.getArgs().toArray(new String[0]));
      } else {
        return false;
      }
    }
    return true;
  }
static boolean loadExtensions(Config config) {
    if (config.getExtensions() == null) {
      return true;
    }
    for (Config.ExtensionData extensionData : config.getExtensions()) {
      JillExtension extension = ProgramLoader.loadExtension(extensionData.getClassname());
      if (extension != null) {
        Program.registerExtension(extension);
        extension.init(extensionData.getArgs().toArray(new String[0]));
      } else {
        return false;
      }
    }
    return true;
  }
Loads any configured extensions (see {@link JillExtension}).

@param config a valid configuration
@return true if successfully loaded, false otherwise