|
|||||||||
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 String |
APPLICATION_ATTRIBUTE_NAME
The attribute name for the WebApplication object to be retrieved from request scope. |
static String |
DEFAULT_LOG_LEVEL
|
static String |
DEFAULT_RESOURCE_BUNDLE
The name of the resource bundle for the web controls. |
static String |
DEFAULT_XML_RESOURCE_BUNDLE
The name of the XML resource bundle. |
static String |
LOCALIZED_STRINGS
|
static String |
RESOURCE_BUNDLE_DIR
|
static String |
TASK_DEFINITIONS_DIR
|
static 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. |
Collection<WebSession> |
getActiveWebSessions()
Returns a collection of active WebSession objects. |
String |
getCacheDirectory()
Deprecated. This method is deprecated as of ArcGIS Java Server 9.3.1, no replacement |
static HashMap<String,String> |
getLocalizedStrings()
Returns the set of localized strings defined in the bundle |
static ResourceBundle |
getResourceBundle()
Returns the name of the resource bundle for the web controls. |
static String |
getResourceString(String resourceKey)
Returns the string corresponding to this key from the associated resource bundle. |
static String |
getResourceString(String resourceKey,
Object[] params)
Returns the parameterized string corresponding to this key from the associated resource bundle. |
static String |
getXMLResourceBundle()
Returns the name of the XML resource bundle. |
boolean |
removeWebSession(WebSession session)
Removes a WebSession from the WebApplication. |
void |
setCacheDirectory(String cacheDirectory)
Deprecated. This method is deprecated as of ArcGIS Java Server 9.3.1, no replacement |
static void |
setResourceBundleFilePath(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 String APPLICATION_ATTRIBUTE_NAME
public static final String DEFAULT_XML_RESOURCE_BUNDLE
public static final String DEFAULT_RESOURCE_BUNDLE
public static final String RESOURCE_BUNDLE_DIR
public static final String DEFAULT_LOG_LEVEL
public static final String XSL_DIR
public static final String TASK_DEFINITIONS_DIR
public static final String LOCALIZED_STRINGS
Constructor Detail |
---|
public WebApplication()
Method Detail |
---|
public static HashMap<String,String> getLocalizedStrings()
public void addWebSession(WebSession session)
WebSession
to the WebApplication.
session
- the WebSession
public boolean removeWebSession(WebSession session)
WebSession
from the WebApplication.
session
- the WebSession
to remove
public Collection<WebSession> getActiveWebSessions()
WebSession
objects.
Collection
- the active sessionspublic void destroy()
public static String getXMLResourceBundle()
String
- the name of the bundlepublic static ResourceBundle getResourceBundle()
ResourceBundle
- the ResourceBundlepublic static String getResourceString(String resourceKey)
resourceKey
- the resource key
String
- the string associated with this keypublic static String getResourceString(String resourceKey, Object[] params)
resourceKey
- the resource keyparams
- the parameter values
String
- the parameterized string associated with this key@Deprecated public String getCacheDirectory()
String
- the cache directory. If no directory, null is returned.@Deprecated public static void setResourceBundleFilePath(String path)
path
- String a absolute path string.@Deprecated public void setCacheDirectory(String cacheDirectory)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |