fe/src/main/java/org/apache/doris/plugin/DynamicPluginLoader.java
public void install() throws UserException, IOException {
        if (hasInstalled()) {
            throw new UserException("Plugin " + pluginInfo.getName() + " is already install.");
        }

        getPluginInfo();

        Path realPath = movePlugin();

        plugin = dynamicLoadPlugin(realPath);

        pluginInstallValid();

        plugin.init(pluginInfo, pluginContext);
    }
/**
     * move plugin to Doris's PLUGIN_DIR and dynamic load the plugin class
     */
move plugin to Doris's PLUGIN_DIR and dynamic load the plugin class
move plugin to Doris ' s PLUGIN_DIR and dynamic load the plugin class
public void install() throws UserException, IOException {
        if (hasInstalled()) {
            throw new UserException("Plugin " + pluginInfo.getName() + " is already install.");
        }
        getPluginInfo();
        Path realPath = movePlugin();
        plugin = dynamicLoadPlugin(realPath);
        pluginInstallValid();
        plugin.init(pluginInfo, pluginContext);
    }
public void install ( ) throws UserException , IOException { if ( hasInstalled ( ) ) { throw new UserException ( "Plugin " + pluginInfo . getName ( ) + " is already install." ) ; } getPluginInfo ( ) ; Path realPath = movePlugin ( ) ; plugin = dynamicLoadPlugin ( realPath ) ; pluginInstallValid ( ) ; plugin . init ( pluginInfo , pluginContext ) ; }
move plugin to Doris's PLUGIN_DIR and dynamic load the plugin class
move plugin to Doris ' s PLUGIN_DIR and dynamic load the plugin class