throw new RuntimeException(e);
}
} finally {
executor.shutdownNow();
}
<BUG>}
}</BUG>
public ModelNode executeForResult(ModelNode operation, InputStream...inputStreams) throws OperationFailedException {
ModelNode rsp = executeOperation(operation, inputStreams);
if (FAILED.equals(rsp.get(OUTCOME).asString())) {

throw new RuntimeException(e);
}
} finally {
executor.shutdownNow();
}
}
}
public ModelNode executeOperation(ModelNode operation, OperationTransactionControl txControl) {
return controller.execute(operation, null, txControl, null);
}
public ModelNode executeForResult(ModelNode operation, InputStream...inputStreams) throws OperationFailedException {
ModelNode rsp = executeOperation(operation, inputStreams);
if (FAILED.equals(rsp.get(OUTCOME).asString())) {
