org.rhq.enterprise.server.system
Interface SystemManagerRemote

All Known Subinterfaces:
WebservicesRemote

public interface SystemManagerRemote


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)
          Deprecated. use getSystemSettings(Subject) instead
 SystemSettings getSystemSettings(Subject subject)
          Get the server cloud configuration.
 void setSystemConfiguration(Subject subject, Properties properties, boolean skipValidation)
          Deprecated. use setSystemSettings(Subject, SystemSettings) instead
 void setSystemSettings(Subject subject, SystemSettings settings)
          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

@Deprecated
Properties getSystemConfiguration(Subject subject)
Deprecated. use getSystemSettings(Subject) instead


getSystemSettings

SystemSettings getSystemSettings(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:
the settings

setSystemConfiguration

@Deprecated
void setSystemConfiguration(Subject subject,
                                       Properties properties,
                                       boolean skipValidation)
                            throws Exception
Deprecated. use setSystemSettings(Subject, SystemSettings) instead

Throws:
Exception

setSystemSettings

void setSystemSettings(Subject subject,
                       SystemSettings settings)
                       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
settings - the new system configuration settings
Throws:
Exception


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