All Packages Class Hierarchy This Package Previous Next Index
Class semper.payment.Installer
java.lang.Object
|
+----semper.payment.Installer
- public class Installer
- extends Object
- implements BlockInstallHook
Installer hook for the payment block. This class implements the
payment block-specific checks and actions that need to be done when
a module is being installed in the payment block. It is used only
by the SEMPER Installer.
- Version:
- $Revision: 1.1 $ $Date: 1997/04/25 12:29:06 $
- Author:
- N. Asokan ([email protected])
- See Also:
- Installer
-
Installer()
- Constructor without arguments
-
checkProperties(Properties)
- Sanity check a properties file in a distribution.
-
install(Properties, String)
- Install hook for the payment block.
-
uninstall(Properties)
- Uninstall hook for the payment block
Installer
public Installer()
- Constructor without arguments
install
public void install(Properties props,
String pathname)
- Install hook for the payment block. Currently the following
actions are taken:
- register the
purseClassName
with the payment
manager
- Parameters:
- props - Properties object in the distribution
- pathname - directory where the distribution is to be found
uninstall
public void uninstall(Properties props)
- Uninstall hook for the payment block
- Parameters:
- props - Properties object with which the module was
installed
checkProperties
public boolean checkProperties(Properties props)
- Sanity check a properties file in a distribution. Currently, the
following checks are performed:
- The property
purseClassName
must be defined
(this must be the name of the Purse subclass in the adapter of
the module being installed)
- Parameters:
- props - Properties object initialised from a properties file in a
module distribution
- Returns:
- true/false
All Packages Class Hierarchy This Package Previous Next Index