public PortletInvocationResponse invoke(String windowId, List<Cookie> requestCookies, RenderInvocation renderInvocation) throws PortletInvokerException
{
Portlet portlet = getPortlet(windowId);
//
renderInvocation.setClientContext(new AbstractClientContext(req, requestCookies));
renderInvocation.setServerContext(new AbstractServerContext(req, resp));
renderInvocation.setInstanceContext(new AbstractInstanceContext(portlet.getContext().getId()));
renderInvocation.setUserContext(new AbstractUserContext(req));
renderInvocation.setWindowContext(new AbstractWindowContext(windowId));
renderInvocation.setPortalContext(PORTAL_CONTEXT);