传递调用者标识是一种常见的Web服务需求。
Passing the identity of the caller is a common Web services requirement.
方法调用一直沿着栈传递调用,可能传递到最终目标,或到下一个截取程序。
The method call passes the invocation up the stack, either to the final target or possibly to the next interceptor.
在这些情况下,性能测试通常通过前端Facade完成,或通过添加servlet层来发起恰当的消息传递调用执行测试。
In these cases, performance testing is typically done either through the front facing facade or by adding a servlet layer that can initiate the appropriate messaging calls to conduct the test.
它允许您在消息通过消息流传递时调用用户出口中的自定义代码,从而在消息生命周期中的某个点跟踪消息。
It lets you track message at certain points in their life cycle by invoking custom code from user exits while the message is passing through the message flow.
代码片段类似于可在其中传递参数的方法调用。
Snippets are like method calls, in which you are passing in parameters.
这种方法允许您将数据作为参数值传递给构造函数调用,如清单3 所示。
This approach lets you pass data as argument values to the call, as Listing 3 shows.
请注意签名作为第一个参数如何传递到方法调用。
Note how the signature is passed as the first argument to the method call.
此示例中的输入是一个简单的字符串,因此将使用字符串填充参数,并将其传递给调用函数。
The input in this example is a simple string, so you populate the argument array with a string and pass it to the invoke function.
程序传递要调用的远程方法的名称和所有必需参数。
Your program passes the name of the remote method to invoke and any necessary parameters.
ORB截获这条消息,并负责搜索一个能执行该请求的对象,将参数传递给它,调用它的方法,然后返回结果。
The ORB would then intercept the message and be responsible for finding an object that could implement the request, pass it the parameters, invoke its method, and return the results.
这个拦截程序执行其功能后,调用被传递到原始MQ库或类。
When the interceptor has performed its function, the call is passed to the original MQ library or class.
清单8显示了用于测试调用传递和返回值形式的三种方法的代码。
Listing 8 shows the code for the three methods used to test the passed-and-returned value form of the calls.
默认情况下,此选项是禁用的,并且将各参数对象的副本传递给调用的EJB方法。
By default, this option is disabled and a copy of each parameter object is made and passed to the invoked EJB method.
在此调用中,我们将FORM元素的名称作为一个参数传递给API调用。
API call where we pass in the name of the FORM element as a parameter to the API call.
通过从调用页传递来的参数定制标记。
Customize the tags through attributes passed from the calling page.
a显示每个exec系统调用中传递的参数字符串。
A shows the argument strings passed in each exec system call.
in函数运行时,会调用传递给它的类中的几个函数。
As the in function runs, it calls several functions in the class passed to it.
可以将JSON数据作为参数传递,以调用该函数。
You can call this function by passing JSON data as a parameter.
通常被访问的类包含accept方法,它采用访问者并传递this来调用该访问者的方法。
Typically the class being visited includes an accept method that takes a visitor and calls a method on that visitor, passing in this.
如果digestdoc没有导致错误4091Invaliduniversalid,脚本会将文档的句柄传递回调用的函数。
If digestdoc did not result in error 4091 Invalid universal id, the script passes the handle of the document back to the calling function.
对于其余的项,我们需要将先前考查的值传递到函数调用中。
For the remaining items, we will need to pass the previously examined data item in the function call. The function looks like this.
然后,调用友元函数spacefriend并将类对象的地址作为其参数传递。然后调用template函数,先使用整数类型,然后使用浮点数据类型。
It then calls the friend function spacefriend and passes the class object address as its argument, and calls the template function, beginning with integer types and then floating data types.
对操作的调用,包括传递参数和接收结果。
Invocations of operations, including passing parameters and receiving results.
然后请注意,在循环体中,我使用callback来调用传递的参数函数对象。
Notice that then, in the body of the loop, I use callback to invoke the passed parameter function object.
将参数传递给name调用的Web服务的抓屏
Screen capture showing the invoked Web service passing a parameter for name
适配器实现接口,并将方法调用传递给真实的对象。
The adapter implements the interface and passes the method calls unto the real object.
任务完成后,将产生相应的结果,服务会返回到其调用方,并将此结果作为输出数据传递给调用方。
After the task is completed and there is a result, the service returns to its caller, passing the result as output data.
任务完成后,将产生相应的结果,服务会返回到其调用方,并将此结果作为输出数据传递给调用方。
After the task is completed and there is a result, the service returns to its caller, passing the result as output data.
应用推荐