public class WeaveConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALLOW_R_SCRIPT_ACCESS |
static java.lang.String |
ALLOW_RSERVE_ROOT_ACCESS |
Constructor and Description |
---|
WeaveConfig() |
Modifier and Type | Method and Description |
---|---|
static ConnectionConfig |
getConnectionConfig() |
static java.lang.String |
getConnectionConfigFilePath() |
static DataConfig |
getDataConfig() |
static java.lang.String |
getDocrootPath() |
static java.lang.String |
getProperty(java.lang.String key) |
static boolean |
getPropertyBoolean(java.lang.String key) |
static java.lang.String |
getUploadPath() |
static java.lang.String |
getVersion() |
static WeaveContextParams |
getWeaveContextParams() |
static void |
initializeAdminService(ProgressManager progress)
This function should be the first thing called by the Admin Console to initialize the servlet.
|
static void |
initWeaveConfig(WeaveContextParams wcp) |
public static final java.lang.String ALLOW_R_SCRIPT_ACCESS
public static final java.lang.String ALLOW_RSERVE_ROOT_ACCESS
public static void initWeaveConfig(WeaveContextParams wcp)
public static WeaveContextParams getWeaveContextParams()
public static java.lang.String getProperty(java.lang.String key)
public static boolean getPropertyBoolean(java.lang.String key)
public static java.lang.String getConnectionConfigFilePath()
public static ConnectionConfig getConnectionConfig() throws java.rmi.RemoteException
java.rmi.RemoteException
public static DataConfig getDataConfig() throws java.rmi.RemoteException
java.rmi.RemoteException
public static void initializeAdminService(ProgressManager progress) throws java.rmi.RemoteException
progress
- Used to output SQL config data migration status updates.java.rmi.RemoteException
- Thrown when the DataConfig could not be initialized.public static java.lang.String getVersion()
public static java.lang.String getDocrootPath()
public static java.lang.String getUploadPath()