final class BootstrapModelController extends BasicModelController {
BootstrapModelController() {
super(hostModelNode, configurationPersister, hostRegistry);
}
}
final BasicModelController bootstrapContoller = new BootstrapModelController();
for(final ModelNode operation : operations) {
count.incrementAndGet();
operation.get(ROLLBACK_ON_RUNTIME_FAILURE).set(false);
bootstrapContoller.execute(OperationBuilder.Factory.create(operation).build(), resultHandler);
}
if (count.decrementAndGet() == 0) {
// some action?
}