public interface PluginRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
add(String pluginName,
String scriptUrl)
Registers the plugin with the given name and url.
|
boolean |
isRegistered(String pluginName)
Checks if a plugin with the given name is registered.
|
void |
remove(String pluginName,
String scriptUrl)
Removes the plugin from this registry.
|
void |
removeAll()
Removes all plugins from this registry.
|
void add(String pluginName, String scriptUrl)
pluginName - the name of the plugin, must not be null.scriptUrl - the url of the plugin script, must not be null.void remove(String pluginName, String scriptUrl)
pluginName - the name of the plugin, must not be null.scriptUrl - the url of the plugin script, must not be null.void removeAll()
boolean isRegistered(String pluginName)
pluginName - the name of the plugin, must not be null.Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.