public interface ServerPluginManagerRemote
| Modifier and Type | Method and Description |
|---|---|
List<org.rhq.core.domain.plugin.PluginKey> |
deleteServerPlugins(org.rhq.core.domain.auth.Subject subject,
List<Integer> pluginIds)
Removes the plugins from the system and unschedules their jobs.
|
List<org.rhq.core.domain.plugin.PluginKey> |
disableServerPlugins(org.rhq.core.domain.auth.Subject subject,
List<Integer> pluginIds)
Disables the plugins and unschedules their jobs.
|
List<org.rhq.core.domain.plugin.PluginKey> |
enableServerPlugins(org.rhq.core.domain.auth.Subject subject,
List<Integer> pluginIds)
Enables the plugins and restarts them.
|
List<org.rhq.core.domain.plugin.ServerPlugin> |
getServerPlugins(org.rhq.core.domain.auth.Subject subject)
Returns a list of all the installed server plugins in the database, minus
the content object.
|
ControlResults |
invokeServerPluginControl(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.plugin.PluginKey pluginKey,
String controlName,
org.rhq.core.domain.configuration.Configuration params)
Invokes a control operation on a given plugin and returns the results.
|
void |
restartMasterPluginContainer(org.rhq.core.domain.auth.Subject subject)
Recycles the master plugin container, essentially shutting down all server plugins
and then restarting them.
|
void restartMasterPluginContainer(org.rhq.core.domain.auth.Subject subject)
subject - the user asking to restart the master plugin containerList<org.rhq.core.domain.plugin.ServerPlugin> getServerPlugins(org.rhq.core.domain.auth.Subject subject)
List<org.rhq.core.domain.plugin.PluginKey> enableServerPlugins(org.rhq.core.domain.auth.Subject subject, List<Integer> pluginIds) throws Exception
subject - user making the requestpluginIds - the plugins to be enabledException - if failed to disable a pluginList<org.rhq.core.domain.plugin.PluginKey> disableServerPlugins(org.rhq.core.domain.auth.Subject subject, List<Integer> pluginIds) throws Exception
subject - user making the requestpluginIds - the plugins to be disabledException - if failed to disable a pluginList<org.rhq.core.domain.plugin.PluginKey> deleteServerPlugins(org.rhq.core.domain.auth.Subject subject, List<Integer> pluginIds) throws Exception
subject - user making the requestpluginIds - the plugins to be undeployedException - if failed to undeploy a pluginControlResults invokeServerPluginControl(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.plugin.PluginKey pluginKey, String controlName, org.rhq.core.domain.configuration.Configuration params) throws Exception
subject - user making the request, must have the proper permissionspluginKey - identifies the plugin whose control operation is to be invokedcontrolName - identifies the name of the control operation to invokeparams - parameters to pass to the control operation; may be nullif - failed to obtain the plugin component and invoke the control. This usually means an
abnormal error occurred - if the control operation merely failed to do what it needed to do,
the error will be reported in the returned results, not as a thrown exception.ExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.