All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.plugin.development.integration.initialize.ManualPluginInitializer Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package com.plugin.development.integration.initialize;

import com.plugin.development.exception.PluginPlugException;
import com.plugin.development.integration.PluginApplication;
import com.plugin.development.integration.operator.PluginOperator;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 插件手动初始化者
 * @author zhangzhuo
 * @version 1.0
 */
public class ManualPluginInitializer extends AbstractPluginInitializer {

    private final PluginOperator pluginOperator;

    public ManualPluginInitializer(PluginApplication pluginApplication) {
        this.pluginOperator = pluginApplication.getPluginOperator();
    }


    @Override
    public void executeInitialize() throws PluginPlugException {
        pluginOperator.initPlugins();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy