public void initialize() {
    List<PluginConfiguration> pluginConfigs = loadPluginConfigurations();
    pluginConfigs.forEach(
        config -> {
          PluginConfiguration exists = this.pluginConfigs.putIfAbsent(config.getName(), config);
          Preconditions.checkArgument(
              exists == null, "Duplicate plugin name found: %s", config.getName());
        });

    foundAvailablePlugins();
    for (PluginConfiguration pluginConfig : pluginConfigs) {
      if (!pluginConfig.isEnabled()) {
        continue;
      }
      install(pluginConfig.getName());
    }
  }
Initialize the plugin manager, and install all plugins.
amoro-ams/src/main/java/org/apache/amoro/server/manager/AbstractPluginManager.java