protected void doUndeploy(ServiceUnit su) throws Exception { for (int i = 0; i < deployers.length; i++) { if (deployers[i].canDeploy(su.getName(), su.getRootPath())) { deployers[i].undeploy(su); return; } } throw failure("undeploy", "Unable to find suitable deployer for Service Unit '" + su.getName() + "'", null); }