public class WeaveContextParams
extends java.lang.Object
Constructor and Description |
---|
WeaveContextParams(java.lang.String configPath,
java.lang.String docrootPath)
This constructor is intended for testing purposes only and allows
explicit values for config and docroot paths.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConfigPath() |
java.lang.String |
getDocrootPath() |
static WeaveContextParams |
getInstance(javax.servlet.ServletContext context) |
java.lang.String |
getRServePath() |
java.lang.String |
getUploadPath() |
public WeaveContextParams(java.lang.String configPath, java.lang.String docrootPath)
configPath
- The path to the folder containing sqlconfig.xmldocrootPath
- The path to the docroot folder.public static WeaveContextParams getInstance(javax.servlet.ServletContext context) throws javax.servlet.ServletException
javax.servlet.ServletException
public java.lang.String getDocrootPath()
public java.lang.String getUploadPath()
public java.lang.String getConfigPath()
public java.lang.String getRServePath()