java.lang.Object | |
↳ | com.microstrategy.web.platform.AppGlobalContextImpl |
The class AppGlobalContextImpl
provides the default implementation
of the interface AppGlobalContext
which is applicable only to ASPx
application.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AppGlobalContextImpl()
The default constructor of this class.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getApplicationPath()
Returns the application path.
| ||||||||||
String |
getBasePath()
Returns current application's base path.
| ||||||||||
String |
getInitParameter(String paramName)
Returns initialization parameter value
| ||||||||||
Enumeration |
getInitParameterNames()
Returns enumeration of initialization parameter names
| ||||||||||
String |
getRequestServerName()
Returns the request server name.
| ||||||||||
String |
getServletName()
Returns the name of the servlet used to initialized this AppGlobalContext.
| ||||||||||
void |
loadInitParameters(String relPath, String servletName)
Loads servlet's initialization parameters from the web.xml
| ||||||||||
void |
setApplicationPath(String applPath)
Sets the application's base URL used to build link and form URLs.
| ||||||||||
void |
setBasePath(String basePath)
Sets the base path for loading different application resources.
| ||||||||||
void |
setRequestServerName(String serverName)
Sets the request server name
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
The default constructor of this class.
Returns the application path.
IllegalStateException | thrown when the application path has not been set. |
---|
Returns current application's base path.
IllegalStateException | thrown when the application's base path has not been set. |
---|
Returns initialization parameter value
paramName | parameter name |
---|
Returns enumeration of initialization parameter names
Returns the request server name.
IllegalStateException | thrown when the server name has not been set. |
---|
Returns the name of the servlet used to initialized this AppGlobalContext.
Loads servlet's initialization parameters from the web.xml
relPath | relative path to the xml file containig parameters (include the xml name) |
---|---|
servletName | servlet name |
Sets the application's base URL used to build link and form URLs.
applPath | application path |
---|
Sets the base path for loading different application resources.
basePath | a path to a root directory of application resources. All resource pathes are resolved relative to this path. |
---|
Sets the request server name
serverName | The server who serves the request. |
---|