pojo/src/main/java/org/jboss/as/pojo/service/AbstractPojoPhase.java
protected void considerUninstalls(List<Joinpoint> uninstalls, int index) {
        if (uninstalls == null)
            return;

        for (int j = Math.min(index, uninstalls.size() - 1); j >= 0; j--) {
            try {
                uninstalls.get(j).dispatch();
            } catch (Throwable t) {
                PojoLogger.ROOT_LOGGER.ignoreUninstallError(uninstalls.get(j), t);
            }
        }
    }
protected void considerUninstalls(List<Joinpoint> uninstalls, int index) {
        if (uninstalls == null)
            return;

        for (int j = Math.min(index, uninstalls.size() - 1); j >= 0; j--) {
            try {
                uninstalls.get(j).dispatch();
            } catch (Throwable t) {
                PojoLogger.ROOT_LOGGER.ignoreUninstallError(uninstalls.get(j), t);
            }
        }
    }
Consider the uninstalls.
<p/>
This method is here to be able to override
the behavior after installs failed.
e.g. perhaps only running uninstalls from the index.
<p/>
By default we run all uninstalls in the case
at least one install failed.

@param uninstalls the uninstalls
@param index      current installs index