org.xoe.core.packages
Class Core

java.lang.Object
  |
  +--org.xoe.core.packages.Core

public class Core
extends Object

Core package installation/removal logic. This class uses the PackageXMLHandlers it finds on the system to do package installation and removal.


Field Summary
static long installTimer
           
static long orderedHandlersTimer
           
static long verifyTimer
           
 
Constructor Summary
Core()
           
 
Method Summary
static void calculateOrderedHandlers()
          Returns all the IPackageXMLHandlers in the system in the order in which they depend on each other.
protected static void installPackage(XoePackage p)
          Install a package.
static void uninstallPackage(XoePackage p)
          Remove a package from the running system.
protected static void verifyPackage(XoePackage p)
          Verify a package (pre-install).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orderedHandlersTimer

public static long orderedHandlersTimer

installTimer

public static long installTimer

verifyTimer

public static long verifyTimer
Constructor Detail

Core

public Core()
Method Detail

calculateOrderedHandlers

public static void calculateOrderedHandlers()
Returns all the IPackageXMLHandlers in the system in the order in which they depend on each other.

verifyPackage

protected static void verifyPackage(XoePackage p)
                             throws PackageException
Verify a package (pre-install).

installPackage

protected static void installPackage(XoePackage p)
                              throws InstallException
Install a package.

uninstallPackage

public static void uninstallPackage(XoePackage p)
Remove a package from the running system.