Package com.webmethods.caf.faces.persist
Class WebApplicationStorage
java.lang.Object
com.webmethods.caf.faces.persist.WebApplicationStorage
- Direct Known Subclasses:
FileWebApplicationStorage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
getKeys()
static WebApplicationStorage
getRoot
(ServletContext servletContext) Returns implementation of web application storage for given servlet contextabstract WebApplicationStorage
getStorage
(String name) static Object
lookupEnviromentValue
(String key, Object defaulValue) Lookups JNDI enviroment variableabstract void
-
Field Details
-
WEB_APP_STORAGE_ENV_KEY
Web application Environment variable name which used to determine where to store web application preferences- See Also:
-
WEB_APP_CONTEXT_STORAGE_KEY
- See Also:
-
STORAGE_PREFIX
- See Also:
-
-
Constructor Details
-
WebApplicationStorage
public WebApplicationStorage()
-
-
Method Details
-
getRoot
Returns implementation of web application storage for given servlet context- Throws:
Exception
-
lookupEnviromentValue
Lookups JNDI enviroment variable- Parameters:
key
- environment variable name- Returns:
- enviroment variable value or null
-
getStorage
- Throws:
Exception
-
get
- Throws:
Exception
-
getKeys
- Throws:
Exception
-
put
- Throws:
Exception
-