@ SuppressWarnings ( "deprecation" ) protected ModelNode executeReadOnlyOperation ( final ModelNode operation , final OperationMessageHandler handler , final OperationTransactionControl control , final OperationStepHandler prepareStep , final int operationId ) { final AbstractOperationContext delegateContext = getDelegateContext ( operationId ) ; CurrentOperationIdHolder . setCurrentOperationID ( operationId ) ; try { return executeReadOnlyOperation ( operation , delegateContext . getManagementModel ( ) , control , prepareStep , delegateContext ) ; } finally { CurrentOperationIdHolder . setCurrentOperationID ( null ) ; } }
Executes an operation on the controller latching onto an existing transaction