if (! ar.isInRegistry(addonName)) continue;
if (ar.isUnConfigurationRequired(addonName)) {
Configurator conf = Configurator.class.cast(entry.getKey());
InstallationContext ic = new InstallationContext();
ic.setInstallationDirectory(getInstallRoot());
ConfigurationContext cc = new ConfigurationContext();
cc.setInstallationContext(ic);
cc.setDomainDirectory(getDomainRoot());
cc.setConfigurationType(type);
try {
conf.unconfigure(cc);
ar.setStatus(addonName, AddonRegistry.status.REMOVE);
} catch (AddonFatalException afe) {
getLogger().log(Level.SEVERE, "Fatal Exception while " +