| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.portal.struts.common.ModuleContext
public class ModuleContext
The ModuleContext
class is used for
storing and retrieving objects in a context taking into account
application prefixes.
Constructor Summary | |
---|---|
ModuleContext(ActionServlet actionServlet,
ModuleConfig moduleConfig)
Constructs the ModuleContext object. |
Method Summary | |
---|---|
java.lang.Object | getObject(java.lang.String key)
Gets the object stored by key and takes into account the previously saved module prefix. |
java.lang.String | getPrefix()
Returns the saved prefix. |
ServletContext | getServletContext()
Returns the servlet context. |
void | removeObject(java.lang.String key)
Removes the object stored by key and taking into account the previously saved module prefix. |
void | setPrefix(java.lang.String prefix)
Sets the prefix to be returned. |
void | storeObject(java.lang.String key,
java.lang.Object value)
Stores the given object by key and taking into account the previously saved module prefix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleContext(ActionServlet actionServlet, ModuleConfig moduleConfig)
null
null
null
Method Detail |
---|
public java.lang.Object getObject(java.lang.String key)
null
public void removeObject(java.lang.String key)
public void storeObject(java.lang.String key, java.lang.Object value)
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
public ServletContext getServletContext()
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |