All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.util.install.ModuleInstallHook

public interface ModuleInstallHook
Modules can have a class called Install which implements this interface. These methods will be invoked by the Installer application during the module installation process. The Install class is intended to enforce any module-specific installation procedures (e.g. registering * environment variables used by the module) by implementing them in the method implementations of this interface.

Version:
$Revision: 1.1 $ $Date: 1997/04/25 12:26:45 $
Author:
N. Asokan (aso@zurich.ibm.com)
See Also:
Installer, Env

Method Index

 o postInstall(Properties, String)
Post-installation program
 o postUninstall(Properties)
Post-uninstallation program
 o preInstall(Properties, String)
Pre-installation program
 o preUninstall(Properties)
Pre-uninstallation program

Methods

 o preInstall
 public abstract void preInstall(Properties props,
                                 String pathname) throws InstallerException
Pre-installation program

Parameters:
props - properties object initialised from the props.txt file in the distribution directory
pathname - pathname to the distribution directory
Throws: InstallerException
if pre-installation failed
 o postInstall
 public abstract void postInstall(Properties props,
                                  String pathname) throws InstallerException
Post-installation program

Parameters:
props - properties object initialised from the props.txt file in the distribution
pathname - pathname to the directory where the distribution is to be found
Throws: InstallerException
if post-installation failed
 o preUninstall
 public abstract void preUninstall(Properties props) throws InstallerException
Pre-uninstallation program

Parameters:
props - properties object representing the module (usually, the same object used during the installation of this module)
Throws: InstallerException
if pre-uninstallation failed
 o postUninstall
 public abstract void postUninstall(Properties props) throws InstallerException
Post-uninstallation program

Parameters:
props - properties object representing the module (usually, the same object used during the installation of this module)
Throws: InstallerException
if post-uninstallation failed

All Packages  Class Hierarchy  This Package  Previous  Next  Index