|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.portlet.impl.jsr168.PortletConfigImpl
Field Summary | |
private PortletResourceBundleManager |
bundleMgr
|
private java.util.Map |
initParameters
|
private PortletContext |
portletContext
|
private java.lang.String |
portletName
|
Constructor Summary | |
PortletConfigImpl(java.lang.String portletName,
PortletContext portletContext,
java.util.Map initParameters,
PortletResourceBundleManager bundleMgr)
|
Method Summary | |
java.lang.String |
getInitParameter(java.lang.String s)
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist. |
java.util.Enumeration |
getInitParameterNames()
Returns the names of the portlet initialization parameters as an Enumeration of String objects, or an
empty Enumeration if the portlet has no initialization parameters. |
PortletContext |
getPortletContext()
Returns the PortletContext of the portlet application the portlet is in. |
java.lang.String |
getPortletName()
Returns the name of the portlet. |
java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale)
May return null ? the spec does not specify what happens when the bundle is not found for the locale. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String portletName
private PortletContext portletContext
private java.util.Map initParameters
private PortletResourceBundleManager bundleMgr
Constructor Detail |
public PortletConfigImpl(java.lang.String portletName, PortletContext portletContext, java.util.Map initParameters, PortletResourceBundleManager bundleMgr)
Method Detail |
public java.lang.String getPortletName()
PortletConfig
portlet-name
tag.
getPortletName
in interface PortletConfig
public PortletContext getPortletContext()
PortletConfig
PortletContext
of the portlet application the portlet is in.
getPortletContext
in interface PortletConfig
PortletContext
object, used by the caller to interact with its portlet containerPortletContext
public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
getResourceBundle
in interface PortletConfig
locale
- the locale for which to retrieve the resource bundle
public java.lang.String getInitParameter(java.lang.String s)
PortletConfig
getInitParameter
in interface PortletConfig
s
- a String
specifying the name of the initialization parameter
String
containing the value of the initialization parameterpublic java.util.Enumeration getInitParameterNames()
PortletConfig
Enumeration
of String objects, or an
empty Enumeration
if the portlet has no initialization parameters.
getInitParameterNames
in interface PortletConfig
Enumeration
of String
objects containing the names of the portlet
initialization parameters, or an empty Enumeration
if the portlet has no initialization parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |