|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.WebApplication
public class WebApplication
Stores information for the current web application.
| Field Summary | |
|---|---|
static java.lang.String |
APPLICATION_ATTRIBUTE_NAME
The attribute name for the WebApplication object to be retrieved from request scope. |
static java.lang.String |
DEFAULT_LOG_LEVEL
|
static java.lang.String |
DEFAULT_RESOURCE_BUNDLE
The name of the resource bundle for the web controls. |
static java.lang.String |
DEFAULT_XML_RESOURCE_BUNDLE
The name of the XML resource bundle. |
static java.lang.String |
RESOURCE_BUNDLE_DIR
|
static java.lang.String |
TASK_DEFINITIONS_DIR
|
static java.lang.String |
XSL_DIR
|
| Constructor Summary | |
|---|---|
WebApplication()
Initializes the WebApplication. |
|
| Method Summary | |
|---|---|
void |
addWebSession(WebSession session)
Adds a new WebSession to the WebApplication. |
void |
destroy()
Destroys a WebApplication and clears all the active sessions. |
java.util.Collection<WebSession> |
getActiveWebSessions()
Returns a collection of active WebSession objects. |
java.lang.String |
getCacheDirectory()
Deprecated. This method is deprecated as of ArcGIS Java Server 9.3.1, no replacement |
static java.util.ResourceBundle |
getResourceBundle()
Returns the name of the resource bundle for the web controls. |
static java.lang.String |
getResourceString(java.lang.String resourceKey)
Returns the string corresponding to this key from the associated resource bundle. |
static java.lang.String |
getResourceString(java.lang.String resourceKey,
java.lang.Object[] params)
Returns the parameterized string corresponding to this key from the associated resource bundle. |
static java.lang.String |
getXMLResourceBundle()
Returns the name of the XML resource bundle. |
boolean |
removeWebSession(WebSession session)
Removes a WebSession from the WebApplication. |
void |
setCacheDirectory(java.lang.String cacheDirectory)
Deprecated. This method is deprecated as of ArcGIS Java Server 9.3.1, no replacement |
static void |
setResourceBundleFilePath(java.lang.String path)
Deprecated. This method is deprecated as of ArcGIS Java Server 9.3.1, no replacement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String APPLICATION_ATTRIBUTE_NAME
public static final java.lang.String DEFAULT_XML_RESOURCE_BUNDLE
public static final java.lang.String DEFAULT_RESOURCE_BUNDLE
public static final java.lang.String RESOURCE_BUNDLE_DIR
public static final java.lang.String DEFAULT_LOG_LEVEL
public static final java.lang.String XSL_DIR
public static final java.lang.String TASK_DEFINITIONS_DIR
| Constructor Detail |
|---|
public WebApplication()
| Method Detail |
|---|
public void addWebSession(WebSession session)
WebSession to the WebApplication.
session - the WebSessionpublic boolean removeWebSession(WebSession session)
WebSession from the WebApplication.
session - the WebSession to remove
public java.util.Collection<WebSession> getActiveWebSessions()
WebSession objects.
Collection- the active sessionspublic void destroy()
public static java.lang.String getXMLResourceBundle()
String- the name of the bundlepublic static java.util.ResourceBundle getResourceBundle()
ResourceBundle- the ResourceBundlepublic static java.lang.String getResourceString(java.lang.String resourceKey)
resourceKey - the resource key
String- the string associated with this key
public static java.lang.String getResourceString(java.lang.String resourceKey,
java.lang.Object[] params)
resourceKey - the resource keyparams - the parameter values
String- the parameterized string associated with this key@Deprecated public java.lang.String getCacheDirectory()
String- the cache directory. If no directory, null is returned.@Deprecated public static void setResourceBundleFilePath(java.lang.String path)
path - String a absolute path string.@Deprecated public void setCacheDirectory(java.lang.String cacheDirectory)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||