public class PortletConfigLiferayImpl extends Object implements javax.portlet.PortletConfig
resource-bundle element, then calling PortletConfig.getResourceBundle(Locale) returns an instance of ResourceBundle that throws a NullPointerException for every method call. This class works around the problem
by having getResourceBundle(Locale) return an instance of EmptyResourceBundle.| Constructor and Description |
|---|
PortletConfigLiferayImpl(javax.portlet.PortletConfig portletConfig) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String[]> |
getContainerRuntimeOptions() |
String |
getDefaultNamespace() |
String |
getInitParameter(String name) |
Enumeration<String> |
getInitParameterNames() |
javax.portlet.PortletContext |
getPortletContext() |
String |
getPortletName() |
Enumeration<QName> |
getProcessingEventQNames() |
Enumeration<String> |
getPublicRenderParameterNames() |
Enumeration<QName> |
getPublishingEventQNames() |
ResourceBundle |
getResourceBundle(Locale locale) |
Enumeration<Locale> |
getSupportedLocales() |
public PortletConfigLiferayImpl(javax.portlet.PortletConfig portletConfig)
public Map<String,String[]> getContainerRuntimeOptions()
getContainerRuntimeOptions in interface javax.portlet.PortletConfigpublic String getDefaultNamespace()
getDefaultNamespace in interface javax.portlet.PortletConfigpublic String getInitParameter(String name)
getInitParameter in interface javax.portlet.PortletConfigpublic Enumeration<String> getInitParameterNames()
getInitParameterNames in interface javax.portlet.PortletConfigpublic javax.portlet.PortletContext getPortletContext()
getPortletContext in interface javax.portlet.PortletConfigpublic String getPortletName()
getPortletName in interface javax.portlet.PortletConfigpublic Enumeration<QName> getProcessingEventQNames()
getProcessingEventQNames in interface javax.portlet.PortletConfigpublic Enumeration<String> getPublicRenderParameterNames()
getPublicRenderParameterNames in interface javax.portlet.PortletConfigpublic Enumeration<QName> getPublishingEventQNames()
getPublishingEventQNames in interface javax.portlet.PortletConfigpublic ResourceBundle getResourceBundle(Locale locale)
getResourceBundle in interface javax.portlet.PortletConfigpublic Enumeration<Locale> getSupportedLocales()
getSupportedLocales in interface javax.portlet.PortletConfigCopyright © 2016 Liferay, Inc.. All rights reserved.