|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts2.portlet.servlet.PortletServletConfig
public class PortletServletConfig
Wrapper object exposing a PortletConfig
as a ServletConfig
instance.
Clients accessing this config object will in fact operate on the
PortletConfig
object wrapped by this config object.
Constructor Summary | |
---|---|
PortletServletConfig(javax.portlet.PortletConfig portletConfig)
|
Method Summary | |
---|---|
java.lang.String |
getInitParameter(java.lang.String name)
|
java.util.Enumeration |
getInitParameterNames()
|
javax.portlet.PortletConfig |
getPortletConfig()
Get the wrapped PortletConfig instance. |
javax.servlet.ServletContext |
getServletContext()
Get the PortletContext as a PortletServletContext instance. |
java.lang.String |
getServletName()
Will return the portlet name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletServletConfig(javax.portlet.PortletConfig portletConfig)
Method Detail |
---|
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter
in interface javax.servlet.ServletConfig
public java.util.Enumeration getInitParameterNames()
getInitParameterNames
in interface javax.servlet.ServletConfig
public javax.servlet.ServletContext getServletContext()
PortletContext
as a PortletServletContext
instance.
getServletContext
in interface javax.servlet.ServletConfig
ServletConfig.getServletContext()
public java.lang.String getServletName()
getServletName
in interface javax.servlet.ServletConfig
ServletConfig.getServletName()
public javax.portlet.PortletConfig getPortletConfig()
PortletConfig
instance.
PortletConfig
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |