public InvokerPortlet create(
      com.liferay.portal.model.Portlet portletModel,
      Portlet portlet,
      PortletConfig portletConfig,
      PortletContext portletContext,
      boolean checkAuthToken,
      boolean facesPortlet,
      boolean strutsPortlet,
      boolean strutsBridgePortlet)
      throws PortletException {

    InvokerPortlet invokerPortlet = _invokerPortlet.create(portletModel, portlet, portletContext);

    MonitoringPortlet monitoringPortlet =
        new MonitoringPortlet(invokerPortlet, _singleDestinationMessageSender);

    monitoringPortlet.prepare(
        portletModel,
        portlet,
        portletConfig,
        portletContext,
        checkAuthToken,
        facesPortlet,
        strutsPortlet,
        strutsBridgePortlet);

    return monitoringPortlet;
  }
  public InvokerPortlet create(
      com.liferay.portal.model.Portlet portletModel, Portlet portlet, PortletContext portletContext)
      throws PortletException {

    InvokerPortlet invokerPortlet = _invokerPortlet.create(portletModel, portlet, portletContext);

    MonitoringPortlet monitoringPortlet =
        new MonitoringPortlet(invokerPortlet, _singleDestinationMessageSender);

    monitoringPortlet.prepare(portletModel, portlet, portletContext);

    return monitoringPortlet;
  }