public PropertyMap getProperties(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
{
PortletImpl portlet = (PortletImpl)portlets.get(portletContext.getId());
if (portlet == null)
{
throw new NoSuchPortletException(portletContext.getId());
}
ContainerPortletInfo info = (ContainerPortletInfo)portlet.getInfo();
ContainerPreferencesInfo prefs = (ContainerPreferencesInfo)info.getPreferences();
PropertyMap result = new SimplePropertyMap();
for (String key : prefs.getKeys())