Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.configuration
Class GCOMApplicationConfiguration.GCOMServerInfo

java.lang.Object
  extended by com.genesyslab.platform.apptemplate.configuration.GApplicationConfiguration.GServerInfo
      extended by com.genesyslab.platform.apptemplate.configuration.GCOMApplicationConfiguration.GCOMServerInfo
All Implemented Interfaces:
IGApplicationConfiguration.IGServerInfo, java.io.Serializable, java.lang.Cloneable
Enclosing class:
GCOMApplicationConfiguration

public static class GCOMApplicationConfiguration.GCOMServerInfo
extends GApplicationConfiguration.GServerInfo

This class is an extension of base GServerInfo structure with logic related to COM AB information extraction as detached configuration data.

It is designed for usage by GCOMApplicationConfiguration container.

See Also:
GServerInfo, CfgServer, Serialized Form

Constructor Summary
GCOMApplicationConfiguration.GCOMServerInfo(CfgServer serverInfo)
          Structure constructor for extraction of configuration data from Genesys Configuration Server objects and structures represented with COM AB.
GCOMApplicationConfiguration.GCOMServerInfo(GCOMApplicationConfiguration.GCOMServerInfo conf)
          Copying constructor.
Note: It creates new GCOMServerInfo instance, but does not clone referred structures GApplicationConfiguration.GServerInfo.getHost() and GApplicationConfiguration.GServerInfo.getBackup().
 
Method Summary
protected  java.lang.String contentToString()
          This method is used from GApplicationConfiguration.GServerInfo.toString() to build string representation of the internal content (configuration properties names and values).
 CfgServer getCfgServerInfo()
          Returns reference to the original COM AB configuration structure.
 
Methods inherited from class com.genesyslab.platform.apptemplate.configuration.GApplicationConfiguration.GServerInfo
clone, getAttempts, getBackup, getHost, getPort, getTimeout, setAttempts, setBackup, setHost, setPort, setTimeout, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GCOMApplicationConfiguration.GCOMServerInfo

public GCOMApplicationConfiguration.GCOMServerInfo(CfgServer serverInfo)
                                            throws ConfigurationException
Structure constructor for extraction of configuration data from Genesys Configuration Server objects and structures represented with COM AB.

Parameters:
serverInfo - COM AB structure with initial information
Throws:
ConfigurationException

GCOMApplicationConfiguration.GCOMServerInfo

public GCOMApplicationConfiguration.GCOMServerInfo(GCOMApplicationConfiguration.GCOMServerInfo conf)
Copying constructor.
Note: It creates new GCOMServerInfo instance, but does not clone referred structures GApplicationConfiguration.GServerInfo.getHost() and GApplicationConfiguration.GServerInfo.getBackup().

Parameters:
conf - original configuration to copy configuration values from
Method Detail

getCfgServerInfo

public CfgServer getCfgServerInfo()
Returns reference to the original COM AB configuration structure.

Returns:
reference to COM AB original structure

contentToString

protected java.lang.String contentToString()
This method is used from GApplicationConfiguration.GServerInfo.toString() to build string representation of the internal content (configuration properties names and values).

Overrides:
contentToString in class GApplicationConfiguration.GServerInfo
Returns:
string representation of the configuration content
See Also:
GApplicationConfiguration.GServerInfo.toString()

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.