org.rhq.enterprise.server.system
Interface SystemManagerRemote

All Known Subinterfaces:
WebservicesRemote
All Known Implementing Classes:
SystemManagerBean, WebservicesManagerBean

public interface SystemManagerRemote

Author:
John Mazzitelli

Method Summary
 ProductInfo getProductInfo(Subject subject)
          Provides product information suitable for "About" details.
 ServerDetails getServerDetails(Subject subject)
          Provides details (such as product version) of the server processing the request.
 Properties getSystemConfiguration(Subject subject)
          Get the server cloud configuration.
 void setSystemConfiguration(Subject subject, Properties properties, boolean skipValidation)
          Set the server cloud configuration.
 

Method Detail

getProductInfo

ProductInfo getProductInfo(Subject subject)
Provides product information suitable for "About" details.

Parameters:
subject - user making the request
Returns:
the product info

getServerDetails

ServerDetails getServerDetails(Subject subject)
Provides details (such as product version) of the server processing the request. Requires MANAGE_SETTINGS.

Parameters:
subject - user making the request
Returns:
server details

getSystemConfiguration

Properties getSystemConfiguration(Subject subject)
Get the server cloud configuration. These are the server configurations that will be the same for all servers in the HA server cloud.

Parameters:
subject - user making the request
Returns:
Properties

setSystemConfiguration

void setSystemConfiguration(Subject subject,
                            Properties properties,
                            boolean skipValidation)
                            throws Exception
Set the server cloud configuration. The given properties will be the new settings for all servers in the HA server cloud.

Parameters:
subject - the user who wants to change the settings
properties - the new system configuration settings
skipValidation - if true, validation will not be performed on the properties
Throws:
Exception


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.