public class ConfigConstants extends Object
This class IS supported for use by end users.
Modifier and Type | Field and Description |
---|---|
static boolean |
CONFIG_DUMPONEARLYACCESS_DEFAULT
The default value for
CONFIG_DUMPONEARLYACCESS_PROPNAME ("nv.config.dumponearlyaccess"): false |
static String |
CONFIG_DUMPONEARLYACCESS_PROPNAME
This property allows dumping a stack trace on access to the runtime environment before
it has been initialized.
|
static boolean |
CONFIG_DUMPONREINIT_DEFAULT
The default value for
CONFIG_DUMPONREINIT_PROPNAME ("nv.config.dumponreinit"): false |
static String |
CONFIG_DUMPONREINIT_PROPNAME
This property allows dumping a stack trace when the runtime environment has been reinitialized.
|
static boolean |
CONFIG_WARNONEARLYACCESS_DEFAULT
The default value for
CONFIG_WARNONEARLYACCESS_PROPNAME ("nv.config.warnonearlyaccess"): false |
static String |
CONFIG_WARNONEARLYACCESS_PROPNAME
This property allows tracing of access to the runtime environment before
it has been initialized.
|
static boolean |
CONFIG_WARNONREINIT_DEFAULT
The default value for
CONFIG_WARNONREINIT_PROPNAME ("nv.config.warnonreinit"): false |
static String |
CONFIG_WARNONREINIT_PROPNAME
This property allows tracing when the runtime environment has been reinitialized.
|
static String |
NVDATADIR_PROPNAME
This property controls the location of the runtime data directory.
|
static String |
NVLOGDIR_PROPNAME
This property controls the location of the runtime trace logs directory.
|
static String |
NVROOT_PROPNAME
This property controls the root location for the app runtime.
|
Constructor and Description |
---|
ConfigConstants() |
public static final String CONFIG_WARNONEARLYACCESS_PROPNAME
When set to true a warning message will be traced to System.err to flag possible premature access to the environment. This is useful in cases where a component is created and sources configuration before the environment has been fully initialized
This property must be set as a system property on the jvm command line
Property Name: "nv.config.warnonearlyaccess"
Default value: false
ConfigEnvironment
,
ConfigEnvironment#initialize(java.util.Properties)
,
Constant Field Valuespublic static final boolean CONFIG_WARNONEARLYACCESS_DEFAULT
CONFIG_WARNONEARLYACCESS_PROPNAME
("nv.config.warnonearlyaccess"): falsepublic static final String CONFIG_DUMPONEARLYACCESS_PROPNAME
When set to true a stack dump will be traced to System.err to flag possible premature access to the environment.
This property must be set as a system property on the jvm command line
Property Name: "nv.config.dumponearlyaccess"
Default value: false
ConfigEnvironment
,
ConfigEnvironment#initialize(java.util.Properties)
,
Constant Field Valuespublic static final boolean CONFIG_DUMPONEARLYACCESS_DEFAULT
CONFIG_DUMPONEARLYACCESS_PROPNAME
("nv.config.dumponearlyaccess"): falsepublic static final String CONFIG_WARNONREINIT_PROPNAME
When set to true a warning message will be traced to System.err to flag possible occurences of the environment being inadvertently reinitialized.
Property Name: "nv.config.warnonearlyaccess"
Default value: false
ConfigEnvironment
,
ConfigEnvironment#initialize(java.util.Properties)
,
Constant Field Valuespublic static final boolean CONFIG_WARNONREINIT_DEFAULT
CONFIG_WARNONREINIT_PROPNAME
("nv.config.warnonreinit"): falsepublic static final String CONFIG_DUMPONREINIT_PROPNAME
When set to true a stack dump will be traced to System.err to flag possible occurences of the environment being inadvertently reinitialized.
This property must be set as a system property on the jvm command line
Property Name: "nv.config.dumponreinit"
Default value: false
ConfigEnvironment
,
ConfigEnvironment#initialize(java.util.Properties)
,
Constant Field Valuespublic static final boolean CONFIG_DUMPONREINIT_DEFAULT
CONFIG_DUMPONREINIT_PROPNAME
("nv.config.dumponreinit"): falsepublic static final String NVROOT_PROPNAME
This property is used as a basis for converting relative paths from other configuration into absolute paths; it serves as the root directoy for the runtime.
Property Name: "NVROOT"
public static final String NVDATADIR_PROPNAME
If not specified, then the data directory lcation defaults to the "rdat" subdirectory of the root directory
Property Name: "nv.data.directory"
public static final String NVLOGDIR_PROPNAME
If not specified, themn the data directory lcation defaults to the "logs" subdirectory of the data directory
Property Name: "nv.log.directory"
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.