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
 org.rhq.core.domain.common.ProductInfo getProductInfo(org.rhq.core.domain.auth.Subject subject)
          Provides product information suitable for "About" details.
 org.rhq.core.domain.common.ServerDetails getServerDetails(org.rhq.core.domain.auth.Subject subject)
          Provides details (such as product version) of the server processing the request.
 Properties getSystemConfiguration(org.rhq.core.domain.auth.Subject subject)
          Deprecated. use getSystemSettings(Subject) instead
 org.rhq.core.domain.common.composite.SystemSettings getSystemSettings(org.rhq.core.domain.auth.Subject subject)
          Get the server cloud configuration.
 void setSystemConfiguration(org.rhq.core.domain.auth.Subject subject, Properties properties, boolean skipValidation)
          Deprecated. use setSystemSettings(Subject, SystemSettings) instead
 void setSystemSettings(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.common.composite.SystemSettings settings)
          Set the server cloud configuration.
 

Method Detail

getProductInfo

org.rhq.core.domain.common.ProductInfo getProductInfo(org.rhq.core.domain.auth.Subject subject)
Provides product information suitable for "About" details.

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

getServerDetails

org.rhq.core.domain.common.ServerDetails getServerDetails(org.rhq.core.domain.auth.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(org.rhq.core.domain.auth.Subject subject)
Deprecated. use getSystemSettings(Subject) instead


getSystemSettings

org.rhq.core.domain.common.composite.SystemSettings getSystemSettings(org.rhq.core.domain.auth.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(org.rhq.core.domain.auth.Subject subject,
                                       Properties properties,
                                       boolean skipValidation)
                            throws Exception
Deprecated. use setSystemSettings(Subject, SystemSettings) instead

Throws:
Exception

setSystemSettings

void setSystemSettings(org.rhq.core.domain.auth.Subject subject,
                       org.rhq.core.domain.common.composite.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 © 2008-2012 Red Hat, Inc.. All Rights Reserved.