public class PortletServletConfig extends Object implements javax.servlet.ServletConfig
PortletConfig
as a ServletConfig
instance.
Clients accessing this config object will in fact operate on the
PortletConfig
object wrapped by this config object.Constructor and Description |
---|
PortletServletConfig(javax.portlet.PortletConfig portletConfig) |
Modifier and Type | Method and Description |
---|---|
String |
getInitParameter(String name) |
Enumeration |
getInitParameterNames() |
javax.portlet.PortletConfig |
getPortletConfig()
Get the wrapped
PortletConfig instance. |
javax.servlet.ServletContext |
getServletContext()
Get the
PortletContext as a PortletServletContext instance. |
String |
getServletName()
Will return the portlet name.
|
public PortletServletConfig(javax.portlet.PortletConfig portletConfig)
public String getInitParameter(String name)
getInitParameter
in interface javax.servlet.ServletConfig
public 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 String getServletName()
getServletName
in interface javax.servlet.ServletConfig
ServletConfig.getServletName()
public javax.portlet.PortletConfig getPortletConfig()
PortletConfig
instance.PortletConfig
instance.Copyright © 2000–2020 Apache Software Foundation. All rights reserved.