Nuxeo Enterprise Platform 5.4

org.nuxeo.connect.client.vindoz
Class InstallAfterRestart

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

public class InstallAfterRestart
extends Object

Helper class used to manage packages installation issue under windows systems.

Because the Vindoz 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 (tdelprat@nuxeo.com)

Field Summary
static String FAKE_VIDOZ
           
static String FILE_NAME
           
 
Constructor Summary
InstallAfterRestart()
           
 
Method Summary
static void addPackage(String pkgId)
           
static boolean isMarkedForInstallAfterRestart(String pkgId)
           
static boolean isNeeded()
           
static boolean isNeededForPackage(org.nuxeo.connect.update.Package pkg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_NAME

public static final String FILE_NAME
See Also:
Constant Field Values

FAKE_VIDOZ

public static final String FAKE_VIDOZ
See Also:
Constant Field Values
Constructor Detail

InstallAfterRestart

public InstallAfterRestart()
Method Detail

isNeeded

public static boolean isNeeded()

isNeededForPackage

public static boolean isNeededForPackage(org.nuxeo.connect.update.Package pkg)

addPackage

public static void addPackage(String pkgId)

isMarkedForInstallAfterRestart

public static boolean isMarkedForInstallAfterRestart(String pkgId)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.