Class InstallAfterRestart

java.lang.Object
org.nuxeo.connect.client.vindoz.InstallAfterRestart

public class InstallAfterRestart extends Object
Helper class used to manage packages installation issue under windows systems.

Because the Windows OS locks all the jar files loaded by the JVM, we can not do proper installation. So installation is delayed until next restart where installation is done before Nuxeo starts (and loads the jars).

Author:
Tiry ([email protected])
  • Field Details

  • Constructor Details

    • InstallAfterRestart

      public InstallAfterRestart()
  • Method Details

    • isNeededByOs

      protected static boolean isNeededByOs()
    • isNeededForPackage

      public static boolean isNeededForPackage(org.nuxeo.connect.update.Package pkg)
      Returns true if a restart should be triggered after install
    • isDevMode

      protected static boolean isDevMode()
    • addPackageForInstallation

      public static void addPackageForInstallation(String pkgNameOrId)
    • addPackageForUnInstallation

      public static void addPackageForUnInstallation(String pkgNameOrId)
    • isMarkedForInstallAfterRestart

      public static boolean isMarkedForInstallAfterRestart(String pkgNameOrId)
    • savePkgList

      protected static void savePkgList()
    • isMarkedForUninstallAfterRestart

      public static boolean isMarkedForUninstallAfterRestart(String pkgName)
      Since:
      5.6