|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.apptemplate.configuration.GApplicationConfiguration
com.genesyslab.platform.apptemplate.configuration.GCOMApplicationConfiguration
public class GCOMApplicationConfiguration
This class represents base Genesys CME application options,
which can be loaded from initialized COM AB CfgApplication
,
its' related objects and structures.
GApplicationConfiguration
with only one feature -
constructor, which can initialize the application configuration properties with
information retrieved from COM AB application object.
COM AB direct usage example:
String appName = "<app-name>";
CfgApplication cfgApplication = confService.retrieveObject(
CfgApplication.class, new CfgApplicationQuery(appName));
GCOMApplicationConfiguration appConfiguration =
new GCOMApplicationConfiguration(cfgApplication);
Nested Class Summary | |
---|---|
static class |
GCOMApplicationConfiguration.GCOMAppConnConfiguration
This class is an extension of base GAppConnConfiguration structure
with logic related to COM AB information extraction as detached configuration data. |
static class |
GCOMApplicationConfiguration.GCOMHost
This class is an extension of base GHost structure
with logic related to COM AB information extraction as detached configuration data. |
static class |
GCOMApplicationConfiguration.GCOMPortInfo
This class is an extension of base GPortInfo structure
with logic related to COM AB information extraction as detached configuration data. |
static class |
GCOMApplicationConfiguration.GCOMServerInfo
This class is an extension of base GServerInfo structure
with logic related to COM AB information extraction as detached configuration data. |
Nested classes/interfaces inherited from class com.genesyslab.platform.apptemplate.configuration.GApplicationConfiguration |
---|
GApplicationConfiguration.GAppConnConfiguration, GApplicationConfiguration.GHost, GApplicationConfiguration.GPortInfo, GApplicationConfiguration.GServerInfo |
Nested classes/interfaces inherited from interface com.genesyslab.platform.apptemplate.configuration.IGApplicationConfiguration |
---|
IGApplicationConfiguration.IGAppConnConfiguration, IGApplicationConfiguration.IGHost, IGApplicationConfiguration.IGPortInfo, IGApplicationConfiguration.IGServerInfo |
Constructor Summary | |
---|---|
GCOMApplicationConfiguration(CfgApplication cfgApplication)
Loads application configuration properties from given COM AB CfgApplication object including configuration of connected CfgApplication's and CfgHost's. |
|
GCOMApplicationConfiguration(CfgApplication cfgApplication,
boolean readConnections)
Loads application configuration properties from given COM AB CfgApplication object including configuration of connected CfgApplication's and CfgHost's. |
|
GCOMApplicationConfiguration(CfgApplication cfgApplication,
boolean readConnections,
boolean readClusterConnections)
Loads application configuration properties from given COM AB CfgApplication object including configuration of connected CfgApplication's and CfgHost's. |
|
GCOMApplicationConfiguration(GCOMApplicationConfiguration conf)
Copying constructor. Note: It creates new GCOMApplicationConfiguration instance,
but does not clone referred structures like getCfgApplication() ,
GApplicationConfiguration.getAppServers() , GApplicationConfiguration.getPortInfos() , GApplicationConfiguration.getOptions() , etc. |
Method Summary | |
---|---|
protected java.lang.String |
contentToString()
This method is used from GApplicationConfiguration.toString() to build
string representation of the internal content (configuration properties names and values). |
CfgApplication |
getCfgApplication()
Returns reference to the original CfgApplication object as source of initial configuration properties values. |
Methods inherited from class com.genesyslab.platform.apptemplate.configuration.GApplicationConfiguration |
---|
clone, getApplicationName, getApplicationType, getAppServer, getAppServers, getAppServers, getAppServers, getDbid, getFlexibleProperties, getObjectState, getOptions, getPortInfo, getPortInfo, getPortInfos, getRedundancyType, getServerInfo, getUserProperties, getVersion, isPrimary, isServer, setApplicationName, setApplicationType, setAppServers, setDbid, setFlexibleProperties, setIsPrimary, setIsServer, setObjectState, setOptions, setPortInfos, setRedundancyType, setServerInfo, setUserProperties, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GCOMApplicationConfiguration(CfgApplication cfgApplication) throws ConfigurationException
cfgApplication
- application properties represented as COM AB application object
ConfigurationException
- in case of configuration problemspublic GCOMApplicationConfiguration(CfgApplication cfgApplication, boolean readConnections) throws ConfigurationException
cfgApplication
- application properties represented as COM AB application objectreadConnections
- flag indicating needs to read connected applications configuration
ConfigurationException
- in case of configuration problemspublic GCOMApplicationConfiguration(CfgApplication cfgApplication, boolean readConnections, boolean readClusterConnections) throws ConfigurationException
cfgApplication
- application properties represented as COM AB application objectreadConnections
- flag indicating needs to read connected applications configurationreadClusterConnections
- flag indicating needs to read connected applications clusters configuration
ConfigurationException
- in case of configuration problemspublic GCOMApplicationConfiguration(GCOMApplicationConfiguration conf)
GCOMApplicationConfiguration
instance,
but does not clone referred structures like getCfgApplication()
,
GApplicationConfiguration.getAppServers()
, GApplicationConfiguration.getPortInfos()
, GApplicationConfiguration.getOptions()
, etc.
conf
- original configuration to copy configuration values fromMethod Detail |
---|
public CfgApplication getCfgApplication()
protected java.lang.String contentToString()
GApplicationConfiguration.toString()
to build
string representation of the internal content (configuration properties names and values).
contentToString
in class GApplicationConfiguration
GApplicationConfiguration.toString()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |