|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.basics.structs.ConfigurationStruct
public class ConfigurationStruct
A description of an application deployment configuration.
Configuration information is saved as config.xml
in the deployment env directory. This file is part of
the application source code and modified using the config editor. The
Configuration information is automatically verified at application
startup.
Configuration information is not declared as persistent, even though the serialized form stored with the deployment drives runtime initialization. The update form of a configuration message is used for runtime dynamic configuration management if implemented.
| Field Summary | |
|---|---|
protected java.lang.String |
description
A description of this configuration. |
protected SandAttrVal[] |
globalParams
Ad hoc global settings for the application, or supporting technology, which are independent of any one node instance. |
protected SandPersistMessage[] |
initialData
The initial data which is required for this configuration to be brought up running. |
protected java.lang.String |
loggerClass
The fully qualified name of the class which will be used for logging functions in this configuration. |
protected java.lang.String |
messagerClass
The fully qualified name of the class which will be used for messaging functions in this configuration. |
protected java.lang.String |
name
A name uniquely identifying this configuration among other known configurations. |
protected NodeInstance[] |
nodes
The node instances which make up this configuration. |
protected ServerDeclarationStruct[] |
servers
The servers that make up this configuration. |
| Constructor Summary | |
|---|---|
ConfigurationStruct()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected java.lang.String description
protected java.lang.String loggerClass
protected java.lang.String messagerClass
protected SandAttrVal[] globalParams
protected SandPersistMessage[] initialData
By convention, any instance with a positive revisionNumber must exist as defined (isEquivalent returns true). If the existing instance does not match, then it will be reverted to its original values on startup. For all other instances (revisionNumber <= 0), an instance will be created if not found, but any found instance does not have to match the original values. This allows a configuration to distinguish instances which must exist as-is (positive revision number) from instances which simply need to exist with specific uniqueID values (negative or zero revisionNumber).
protected ServerDeclarationStruct[] servers
protected NodeInstance[] nodes
| Constructor Detail |
|---|
public ConfigurationStruct()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||