|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.impl.jsr168.PortletConfigImpl
| 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 |
| Constructor Detail |
public PortletConfigImpl(java.lang.String portletName,
PortletContext portletContext,
java.util.Map initParameters,
PortletResourceBundleManager bundleMgr)
| Method Detail |
public java.lang.String getPortletName()
PortletConfig
The name may be provided via server administration, assigned in the
portlet application deployment descriptor with the portlet-name
tag.
getPortletName in interface PortletConfigpublic PortletContext getPortletContext()
PortletConfigPortletContext of the portlet application
the portlet is in.
getPortletContext in interface PortletConfigPortletContext object, used by the
caller to interact with its portlet containerPortletContextpublic java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
getResourceBundle in interface PortletConfiglocale - the locale for which to retrieve the resource bundle
public java.lang.String getInitParameter(java.lang.String s)
PortletConfig
getInitParameter in interface PortletConfigs - a String specifying the name
of the initialization parameter
String containing the value
of the initialization parameterpublic java.util.Enumeration getInitParameterNames()
PortletConfigEnumeration of String objects, or an empty Enumeration if the
portlet has no initialization parameters.
getInitParameterNames in interface PortletConfigEnumeration 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 | |||||||||