private static ModelNode createOperation ( ServerIdentity identity ) { // The server address final ModelNode address = new ModelNode ( ) ; address . add ( ModelDescriptionConstants . HOST , identity . getHostName ( ) ) ; address . add ( ModelDescriptionConstants . RUNNING_SERVER , identity . getServerName ( ) ) ; // final ModelNode operation = OPERATION . clone ( ) ; operation . get ( ModelDescriptionConstants . OP_ADDR ) . set ( address ) ; return operation ; }
Transform the operation into something the proxy controller understands .