A plug-in installer enables plug-ins to perform installation and configuration tasks during part of the installation of iManager.
An installer is a Java class that implements the com.novell.nps.serviceProviders.PortalModuleInstaller interface. During installation of the plug-in, the PortalModuleInstallManager class calls the methods in your installer class that are prescribed by the PortalModuleInstaller interface.
The installer class must be added to the plug-in. The following figure shows the file structure of a plug-in that contains an installer class.
Figure 7-2 File structure of a plug-in with an installer class
The following example shows a manifest file for a plug-in with an installer class:
Module-ID: AddrAdvertise Implementation-Title: NCP Server Address Advertising Implementation-Description: NCP Server Address Advertising Plugin Implementation-Version: 1.0.0 Main-Class: com.mycompany.portalmodules.myInstaller Depends-on: plugin1,plugin2 (Optional)