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

com.github.codingdebugallday.factory.PluginFactory Maven / Gradle / Ivy

The newest version!
package com.github.codingdebugallday.factory;

import com.github.codingdebugallday.integration.PluginListenerContext;
import org.pf4j.PluginWrapper;

/**
 * 

* 插件注册者接口 *

* * @author isaac 2020/6/16 10:17 * @since 1.0 */ public interface PluginFactory extends PluginListenerContext { /** * 工厂初始化 */ void initialize(); /** * 注册插件。 * * @param pluginWrapper 插件 * @return 插件工厂 */ PluginFactory register(PluginWrapper pluginWrapper); /** * 注销插件。 * * @param pluginId 插件id * @return 插件工厂 */ PluginFactory unregister(String pluginId); /** * 注册或者注销后的构建调用 */ void build(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy