|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.portal.struts.portlet.StrutsInfo
public class StrutsInfo
The StrutsInfo class contains information used throughout
the WPS Struts portlet implementation. It is specific to a particular
Struts servlet instance and contains configured information about that instance
that is useful for processing the Struts-based application as a portlet.
| Constructor Summary | |
|---|---|
StrutsInfo(ServletContext servletContext,
java.lang.String contextName)
Construct the StrutsInfo object |
|
| Method Summary | |
|---|---|
java.lang.String |
getContextName()
Get the context name associated with this Servlet |
java.lang.String |
getContextPath()
Get the context path associated with this Servlet |
ServletContext |
getServletContext()
Get the servlet context (not PortletContext) associated with this Servlet |
java.lang.String |
getStrutsServletMapping()
Get the Struts servlet mapping string |
void |
setContextPath(java.lang.String contextPath)
Set the context path associated with this Servlet |
void |
setStrutsServletMapping(java.lang.String mapping)
Set the Struts servlet mapping string |
java.lang.String |
toString()
Print out displayable form of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StrutsInfo(ServletContext servletContext,
java.lang.String contextName)
servletContext - the servlet context objectcontextName - the Context name for the associated servlet| Method Detail |
|---|
public ServletContext getServletContext()
public java.lang.String getContextName()
public java.lang.String getContextPath()
public void setContextPath(java.lang.String contextPath)
contextRoot - the context root stringpublic java.lang.String getStrutsServletMapping()
public void setStrutsServletMapping(java.lang.String mapping)
mapping - the Struts servlet mapping stringpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||