예제 #1
0
  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;
  }
예제 #2
0
  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;
  }