Platform SDK Java 8.5 API Reference

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

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

public static class GCOMApplicationConfiguration.GCOMHost
extends GApplicationConfiguration.GHost

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

It is designed for usage by GCOMApplicationConfiguration container.

See Also:
GHost, CfgHost, Serialized Form

Constructor Summary
GCOMApplicationConfiguration.GCOMHost(CfgHost cfgHost)
          Structure constructor for extraction of configuration data from Genesys Configuration Server objects and structures represented with COM AB.
GCOMApplicationConfiguration.GCOMHost(GCOMApplicationConfiguration.GCOMHost conf)
          Copying constructor.
Note: It creates new GCOMHost instance, but does not clone referred structure GApplicationConfiguration.GHost.getUserProperties().
 
Method Summary
protected  java.lang.String contentToString()
          This method is used from GApplicationConfiguration.GHost.toString() to build string representation of the internal content (configuration properties names and values).
 CfgHost getCfgHost()
          Returns reference to the original COM AB configuration object.
 
Methods inherited from class com.genesyslab.platform.apptemplate.configuration.GApplicationConfiguration.GHost
clone, getDbid, getIPAddress, getLCAPort, getName, getObjectState, getUserProperties, setDbid, setIPAddress, setLCAPort, setName, setObjectState, setUserProperties, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GCOMApplicationConfiguration.GCOMHost

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

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

GCOMApplicationConfiguration.GCOMHost

public GCOMApplicationConfiguration.GCOMHost(GCOMApplicationConfiguration.GCOMHost conf)
Copying constructor.
Note: It creates new GCOMHost instance, but does not clone referred structure GApplicationConfiguration.GHost.getUserProperties().

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

getCfgHost

public CfgHost getCfgHost()
Returns reference to the original COM AB configuration object.

Returns:
reference to the original object

contentToString

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

Overrides:
contentToString in class GApplicationConfiguration.GHost
Returns:
string representation of the configuration content
See Also:
GApplicationConfiguration.GHost.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.