Class PluginManager
- java.lang.Object
-
- org.uberfire.backend.server.plugins.engine.PluginManager
-
@Dependent public class PluginManager extends Object
Manages Uberfire Plugins which involves monitoring the plugins directory (seePluginWatcher), and loading the deployed plugins (seePluginJarProcessor).
-
-
Constructor Summary
Constructors Constructor Description PluginManager(PluginWatcher pluginWatcher, PluginJarProcessor pluginJarProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(String contextRootDir, String pluginDir)Initializes thePluginJarProcessorandPluginWatcherbased on the provided parameters.
-
-
-
Constructor Detail
-
PluginManager
@Inject public PluginManager(PluginWatcher pluginWatcher, PluginJarProcessor pluginJarProcessor)
-
-
Method Detail
-
init
public void init(String contextRootDir, String pluginDir)
Initializes thePluginJarProcessorandPluginWatcherbased on the provided parameters.- Parameters:
contextRootDir- the web application's context root directory, must not be null.pluginDir- the plugin directory, must not be null.
-
-