public class PackageTypePluginManager extends ServerPluginManager
| Constructor and Description |
|---|
PackageTypePluginManager(AbstractTypeServerPluginContainer pc) |
| Modifier and Type | Method and Description |
|---|---|
AbstractPackageTypeBehavior<? extends ServerPluginComponent> |
getBehavior(int packageTypeId) |
AbstractPackageTypeBehavior<? extends ServerPluginComponent> |
getBehavior(String packageTypeName) |
protected void |
loadPlugin(ServerPluginEnvironment env,
boolean enabled)
Informs the plugin manager that a plugin with the given environment needs to be loaded.
|
createServerPluginComponent, disablePlugin, enablePlugin, getLog, getParentPluginContainer, getPlugin, getPluginEnvironment, getPluginEnvironments, getServerPluginComponent, getServerPluginContext, initialize, instantiatePluginClass, isPluginEnabled, isPluginLoaded, loadPluginClass, rebuildServerPluginEnvironment, reloadPlugin, shutdown, startPlugin, startPlugins, stopPlugin, stopPlugins, unloadPlugin, unloadPluginpublic PackageTypePluginManager(AbstractTypeServerPluginContainer pc)
protected void loadPlugin(ServerPluginEnvironment env, boolean enabled) throws Exception
ServerPluginManagerenabled is false, in which case the plugin will not
be initialized.loadPlugin in class ServerPluginManagerenv - the environment of the plugin to be loadedenabled - true if the plugin should be initialized; false if
the plugin's existence should be noted but it should not be initialized or startedException - if the plugin manager cannot load the plugin or deems the plugin invalid.
Typically, this method will not throw an exception unless enabled is
true - loading a disabled plugin is trivial and should not
fail or throw an exception.public AbstractPackageTypeBehavior<? extends ServerPluginComponent> getBehavior(int packageTypeId) throws Exception
Exceptionpublic AbstractPackageTypeBehavior<? extends ServerPluginComponent> getBehavior(String packageTypeName) throws Exception
ExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.