示例#1
0
  /** @see SetupWizardUtil#_initPlugins */
  protected void initPlugins() throws Exception {

    // See LEP-2885. Don't flush hot deploy events until after the portal
    // has initialized.

    if (SetupWizardUtil.isSetupFinished()) {
      HotDeployUtil.setCapturePrematureEvents(false);

      PortalLifecycleUtil.flushInits();
    }
  }
  /** @see {@link com.liferay.portal.servlet.MainServlet#initPlugins} */
  private static void _initPlugins() {
    HotDeployUtil.setCapturePrematureEvents(false);

    PortalLifecycleUtil.flushInits();
  }