* @throws PortletContainerException
*/
public InternalPortletContext getPortletContext(ServletContext servletContext)
throws PortletContainerException {
if (!portletContexts.containsKey(servletContext)) {
PortletAppDD portletAppDD = PortletDescriptorRegistry.getRegistry()
.getPortletAppDD(servletContext);
PortletContext portletContext = new PortletContextImpl(
servletContext, portletAppDD);
portletContexts.put(servletContext, portletContext);
}