public class AlertSenderPluginManager extends ServerPluginManager
AlertSender etc.| Constructor and Description |
|---|
AlertSenderPluginManager(AbstractTypeServerPluginContainer pc) |
| Modifier and Type | Method and Description |
|---|---|
AlertSender |
getAlertSenderForNotification(org.rhq.core.domain.alert.notification.AlertNotification notification)
Instantiate an AlertSender for the passed shortName, which is the name you have provided
in the plugin descriptor in the <shortName> element
|
AlertSenderInfo |
getAlertSenderInfo(String shortName) |
CustomAlertSenderBackingBean |
getBackingBeanForSender(String shortName) |
String |
getBackingBeanNameForSender(String shortName) |
List<String> |
getPluginList()
Return the list of deployed alert sender plug-ins by their <shortName>
|
void |
loadPlugin(ServerPluginEnvironment env,
boolean enabled)
Postprocess the loading of the plugin - the actual load is done
in the super class.
|
protected void |
unloadPlugin(String pluginName)
Informs the plugin manager that a plugin with the given name is to be unloaded.
|
createServerPluginComponent, disablePlugin, enablePlugin, getLog, getParentPluginContainer, getPlugin, getPluginEnvironment, getPluginEnvironments, getServerPluginComponent, getServerPluginContext, initialize, instantiatePluginClass, isPluginEnabled, isPluginLoaded, loadPluginClass, rebuildServerPluginEnvironment, reloadPlugin, shutdown, startPlugin, startPlugins, stopPlugin, stopPlugins, unloadPluginpublic AlertSenderPluginManager(AbstractTypeServerPluginContainer pc)
public void loadPlugin(ServerPluginEnvironment env, boolean enabled) throws Exception
loadPlugin in class ServerPluginManagerenv - the environment of the plugin to be loadedenabled - if true, the plugin is to be enabled and will be started soonException - if the alert plugin could not be loaded due to errors such as the alert class being invalidprotected void unloadPlugin(String pluginName) throws Exception
ServerPluginManagerunloadPlugin in class ServerPluginManagerpluginName - the name of the plugin to be unloadedException - if the plugin manager cannot unload the pluginpublic AlertSender getAlertSenderForNotification(org.rhq.core.domain.alert.notification.AlertNotification notification)
notification - The alert notification we need the sender for. Wanted sender is in notification.getSenderName()AlertSenderpublic List<String> getPluginList()
public AlertSenderInfo getAlertSenderInfo(String shortName)
public CustomAlertSenderBackingBean getBackingBeanForSender(String shortName)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.