@Dependent public class PluginManager extends Object
PluginWatcher), and loading the deployed plugins (see
PluginJarProcessor).| Constructor and Description |
|---|
PluginManager(PluginWatcher pluginWatcher,
PluginJarProcessor pluginJarProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(String contextRootDir,
String pluginDir)
Initializes the
PluginJarProcessor and
PluginWatcher based on the provided parameters. |
@Inject public PluginManager(PluginWatcher pluginWatcher, PluginJarProcessor pluginJarProcessor)
public void init(String contextRootDir, String pluginDir)
PluginJarProcessor and
PluginWatcher based on the provided parameters.contextRootDir - the web application's context root directory, must not be
null.pluginDir - the plugin directory, must not be null.Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.