The <uninstallList> element is a child of the <component> element and contains one or more named uninstall step blocks, each providing a different way to uninstall this component. Many components will have only one uninstall block as a child of this element. Multiple uninstall blocks can be used when different steps are required for different installation environments. For example, steps to undeploy an EBJ app from a server cluster versus undeploy from a single managed server. Uninstall blocks often correspond one to one with install blocks, and in such cases, by convention use the same name to indicate the correspondence.
Name |
How Many? |
Description |
---|---|---|
uninstallSteps |
1 or more |
A named uninstall block containing steps that may be executed to uninstall this component. |
By default, a derived component inherits the accessible <uninstallList> element contents of its base component. When a derived component declares an <uninstallList>, its contents are effectively merged with those of the base component. The derived component may declare new <uninstallSteps> elements and override inherited ones, but may not remove elements declared by the base component.