@Override public void destroy(boolean force) { if (!hasAliveChildren()) { fabricService.destroyContainer(this, force); } else { throw new IllegalStateException("Container " + id + " has one or more child containers alive and cannot be destroyed."); } }