Populate Server Configuration

Retrieves the server configuration from the Unwired Server and caches it locally. This method refreshes all metadata-based configuration. The returned ConfigurationValidationStatus contains the validation status of the security configuration on the server.

Syntax

ConfigurationValidationStatus refresh() throws SUPAdminException;

Returns

If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.

Examples

  • Populate server configuration
    supServerConf.refresh();

Usage

When you call SUPServerConfiguration.refresh(), any data in the local cache is overwritten.

Each call to commit() and refresh() expire all previous ServerComponentVOs, because all the IDs are regenerated.