public class Config extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
adminUser
Email id of the owner of this portal.
|
static String |
appCode
The app code of this application.
|
static String |
appProviderCode
The provider code of this application.
|
static String |
appsServerPubKey
Apps server's public key, used to verify the signature of the requests from
aalam apps server
|
static String |
bizCode
The code of this portal.
|
static String |
centralPubKey
The central server's public key, used to verify the signature of the request
from aalam central server.
|
static String |
dataDir
The absolute path of the directory where this application can use to write
data that it wants to persist across reboots.
|
static String |
entryPoint
Entry point defined by this application in its pom.xml
|
static String |
hooksMap
Path to the hooks map containing the application's hook points,
defined in it's pom.xml
|
static String |
hostName
The hostname in which this application is running.
|
static String |
messagesMap
Path to the messages map containing the application's message settings
defined in it's pom.xml
|
static String |
mysqlUrl
URL to the mysql database in the format
mysql://username:password@hostname:port/database_name
|
static String |
packageDir
Application execution root path.
|
static String |
permissionsMap
Path to the permissions map containing the application's permissions
defined in it's pom.xml
|
static String |
privKey
Path to the RSA private key used while communicating with other internal
applications.
|
static String |
pubKey
Path to the public key of this application.
|
static String |
redisUrl
Url to the redis server.
|
static Map<String,org.ini4j.Profile.Section> |
sections |
static String |
settingsMap
Path to the settings map containing the application's settings items,
defined in it's pom.xml
|
static String |
staticsUrlRoot
The statics url prefix of the application as defined in it's pom.xml
|
static String |
userKeysPath
The path to public keys of the users.
|
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getArg(String section,
String arg,
String defaultValue)
Application will have no use with this method.
|
static void |
newSection(String section)
Application will have no use with this method.
|
static void |
parse(String fileName)
Application will have no use with this method.
|
public static String hostName
public static String bizCode
public static String dataDir
public static String packageDir
public static String appProviderCode
public static String appCode
public static String adminUser
public static String permissionsMap
public static String settingsMap
public static String messagesMap
public static String hooksMap
public static String staticsUrlRoot
public static String entryPoint
public static String privKey
public static String pubKey
public static String centralPubKey
public static String appsServerPubKey
public static String userKeysPath
public static String mysqlUrl
public static String redisUrl
public static String getArg(String section, String arg, String defaultValue)
public static void newSection(String section)
public static void parse(String fileName)
Copyright © 2017. All rights reserved.