public abstract class BaseSysTable
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static CentralLogger |
LOG
logger
|
| Constructor and Description |
|---|
BaseSysTable() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static java.lang.String[] |
read(java.lang.String node,
java.lang.String section,
java.lang.String key,
boolean customEnv)
Read the entire table.
|
(package private) static java.lang.String[] |
read(java.lang.String node,
java.lang.String section,
java.lang.String key,
boolean customEnv,
java.util.Map<java.lang.String,java.lang.String> defaults)
Read the entire table.
|
(package private) static java.lang.String[] |
readTable(java.lang.String node,
java.lang.String section,
java.lang.String key)
Read the entire table.
|
(package private) static java.lang.String[] |
readTable(java.lang.String node,
java.lang.String section,
java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> defaults)
Read the entire table.
|
(package private) static java.lang.String |
readValue(DirectoryService ds,
boolean customEnv,
java.lang.String node,
java.lang.String section,
java.lang.String key,
java.lang.String defVal)
Get a value from server directory or from a custom environment for a given key.
|
(package private) static java.lang.String |
readValue(java.lang.String node,
java.lang.String section,
java.lang.String key)
Get a value from server directory or from a custom environment for a given key.
|
(package private) static java.lang.String |
readValue(java.lang.String node,
java.lang.String section,
java.lang.String key,
java.lang.String defVal)
Get a value from server directory or from a custom environment for a given key.
|
static void |
registerWindow(WindowConfig window)
Call when a new window is created.
|
static void |
unload(java.lang.String envName)
Unload environment.
|
static void |
use(java.lang.String envName)
Set current environment name.
|
private static final CentralLogger LOG
static java.lang.String[] readTable(java.lang.String node,
java.lang.String section,
java.lang.String key)
node - Server directory node.section - INI file section.key - INI file key.static java.lang.String[] readTable(java.lang.String node,
java.lang.String section,
java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> defaults)
node - Server directory node.section - INI file section.key - INI file key.defaults - The mapping of keys to their standard values.static java.lang.String[] read(java.lang.String node,
java.lang.String section,
java.lang.String key,
boolean customEnv)
node - Server directory node.section - INI file section.key - INI file key.customEnv - true if load from custom environment.static java.lang.String[] read(java.lang.String node,
java.lang.String section,
java.lang.String key,
boolean customEnv,
java.util.Map<java.lang.String,java.lang.String> defaults)
node - Server directory node.section - INI file section.key - INI file key.customEnv - true if load from custom environment.defaults - The mapping of keys to their standard values.static java.lang.String readValue(java.lang.String node,
java.lang.String section,
java.lang.String key)
node - Server directory node.section - INI file section.key - INI file key.static java.lang.String readValue(java.lang.String node,
java.lang.String section,
java.lang.String key,
java.lang.String defVal)
node - Server directory node.section - INI file section.key - INI file key.defVal - The default value for this mapping.static java.lang.String readValue(DirectoryService ds, boolean customEnv, java.lang.String node, java.lang.String section, java.lang.String key, java.lang.String defVal)
ds - Directory service instance.customEnv - Indicate to read from server directory or from a custom environment.node - Server directory node.section - INI file section.key - INI file key.defVal - The default value for this mapping.public static void registerWindow(WindowConfig window)
window - Window configuration.public static void use(java.lang.String envName)
USE environment statement is executed.envName - Environment name.public static void unload(java.lang.String envName)
UNLOAD environment statement is executed.envName - Environment name.