| java.lang.Object com.sun.portal.portlet.impl.PortletConfigImpl
PortletConfigImpl | public class PortletConfigImpl implements PortletConfig(Code) | | The PortletConfigImpl class provides a default
implementation for the PortletConfig interface.
|
Method Summary | |
public String | getInitParameter(java.lang.String name) Returns a String containing the value of the named initialization parameter,
or null if the parameter does not exist. | public 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. | public PortletContext | getPortletContext() Returns the PortletContext of the portlet application
the portlet is in. | public String | getPortletName() Returns the name of the portlet. | public ResourceBundle | getResourceBundle(Locale locale) Gets the resource bundle for the given locale based on the
resource bundle defined in the deployment descriptor
with resource-bundle tag or the inlined resources
defined in the deployment descriptor. |
getInitParameter | public String getInitParameter(java.lang.String name) throws IllegalArgumentException(Code) | | Returns a String containing the value of the named initialization parameter,
or null if the parameter does not exist.
Parameters: name - a String specifying the nameof the initialization parameter a String containing the value of the initialization parameter exception: java.lang.IllegalArgumentException - if name is null . |
getInitParameterNames | public Enumeration getInitParameterNames()(Code) | | 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.
an Enumeration of String objects containing the names of the portlet initialization parameters, or an empty Enumeration if the portlet has no initialization parameters. |
getPortletContext | public PortletContext getPortletContext()(Code) | | Returns the PortletContext of the portlet application
the portlet is in.
a PortletContext object, used by the caller to interact with its portlet container See Also: PortletContext |
getPortletName | public String getPortletName()(Code) | | Returns the name of the portlet.
The name may be provided via server administration, assigned in the
portlet application deployment descriptor with the portlet-name
tag.
the portlet name |
getResourceBundle | public ResourceBundle getResourceBundle(Locale locale) throws MissingResourceException(Code) | | Gets the resource bundle for the given locale based on the
resource bundle defined in the deployment descriptor
with resource-bundle tag or the inlined resources
defined in the deployment descriptor.
Parameters: locale - the locale for which to retrieve the resource bundle the resource bundle for the given locale |
|
|