ModelNode opNode = operation.getOperation();
final OperationResult result = operationHandler.execute(operationHandlerContext, opNode, resultHandler);
ControllerResource txResource = getControllerResource(operationHandlerContext, opNode, operationHandler, resultHandler,
address, operationControllerContext);
if (txResource != null) {
transaction.registerResource(txResource);
}
return result;
} catch (OperationFailedException e) {
transaction.setRollbackOnly();
throw e;