|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.plugin.pc.ServerPluginManager
org.rhq.enterprise.server.plugin.pc.alert.AlertSenderPluginManager
public class AlertSenderPluginManager
Plugin manager that takes care of loading the plug-ins and instantiating
of AlertSender etc.
| Constructor Summary | |
|---|---|
AlertSenderPluginManager(AbstractTypeServerPluginContainer pc)
|
|
| Method Summary | |
|---|---|
AlertSender |
getAlertSenderForNotification(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(java.lang.String shortName)
|
java.util.List<java.lang.String> |
getPluginList()
Return the list of deployed alert sender plug-ins by their <shortName> |
void |
loadPlugin(ServerPluginEnvironment env,
boolean enable)
Postprocess the loading of the plugin - the actual load is done in the super class. |
protected void |
unloadPlugin(java.lang.String pluginName)
Informs the plugin manager that a plugin with the given name is to be unloaded. |
| Methods inherited from class org.rhq.enterprise.server.plugin.pc.ServerPluginManager |
|---|
createServerPluginComponent, disablePlugin, enablePlugin, getLog, getParentPluginContainer, getPlugin, getPluginEnvironment, getPluginEnvironments, getServerPluginComponent, getServerPluginContext, initialize, instantiatePluginClass, isPluginEnabled, isPluginLoaded, rebuildServerPluginEnvironment, reloadPlugin, shutdown, startPlugin, startPlugins, stopPlugin, stopPlugins |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlertSenderPluginManager(AbstractTypeServerPluginContainer pc)
| Method Detail |
|---|
public void loadPlugin(ServerPluginEnvironment env,
boolean enable)
throws java.lang.Exception
loadPlugin in class ServerPluginManagerenv - the environment of the plugin to be loadedenable - true if the plugin should be initialized; false if
the plugin's existence should be noted but it should not be initialized or started
java.lang.Exception
protected void unloadPlugin(java.lang.String pluginName)
throws java.lang.Exception
ServerPluginManager
unloadPlugin in class ServerPluginManagerpluginName - the name of the plugin to be unloaded
java.lang.Exception - if the plugin manager cannot unload the pluginpublic AlertSender getAlertSenderForNotification(AlertNotification notification)
notification - The alert notification we need the sender for. Wanted sender is in notification.getSenderName()
AlertSenderpublic java.util.List<java.lang.String> getPluginList()
public AlertSenderInfo getAlertSenderInfo(java.lang.String shortName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||