Of course, now we must join our calling code with our spawned job to get the synchronous call.
当然,现在我们必须将调用代码与生成的作业结合起来,以获得同步调用。
This means we cannot inject the entity manager into calling code.
这意味着我们无法将该实体管理器注入调用代码。
To properly account for all of them, you need to be able to tie exceptions together so that the calling code is notified of all the problems the database encountered.
为了正确地考虑所有错误,需要能够将异常连接在一起,从而让进行调用的代码知道数据库遇到的所有问题。
In this case, the ownership of the buffer has been effectively transferred, and the calling code must assume the buffer to have been deleted when the transferee method returns.
在这个例子中,缓冲区的所有权已经被有效地转移,因而进行调用的代码必须假设在被调用方法返回时缓冲区已经被删除。
If calling code ignored the API and manipulated data structures in the library code, this independence would be lost since a change in the library's implementation might break the misbehaving client.
如果调用代码忽略api并处理库代码中的数据结构,那么将丧失这种独立性,因为库实现中的改变可能破坏行为失常的客户端。
The calling code in the client does not have to know that the call is actually going through a stub.
客户机的调用代码不需要知道调用实际上是通过存根进行的。
Here's the kicker: Neither the calling code nor the invoked method needs to change at all.
需要附加说明的是:调用代码和被调用方法都不需要变更。
The first fragment gives code for reading the document, calling the modify code, and writing the modified document.
第一段是读取文档、调用修改代码和编写已修改文档的代码。
You'll probably want to perform a calculation and return the resulting value to the calling code.
您可能希望完成一次计算,并将计算结果值返回给调用代码。
By retaining control of the parsing process, you can simplify the calling code to handle precisely the content it expects, and to choose to simply stop parsing when it encounters something unexpected.
通过保留解析过程的控制权,可以简化调用代码来准确地处理它预期的内容。
This is pretty much boilerplate remote procedure calling code except for the line
这是非常标准的远程过程调用代码,除了这一行
In this calling code we pass in the parameters DataObject and the name of the data type we want to change.
在此调用代码中,我们将传入参数DataObject和希望更改的数据类型的名称。
The Lua interpreter USES a stack interface to communicate with calling code.
Lua解释器使用一个栈接口来与调用代码通信。
A handler takes a MessageContext and performs actions and returns back to the calling code.
一个处理程序带有一个MessageContext,它执行操作并且返回到进行调用的代码。
Given a Session provided by the calling code in the JmsTemplate, this class provides a callback interface to create a JMS message.
JmsTemplate中的调用代码提供了session类,这个类提供了一个创建JMS消息的回调接口。
An example of calling code that is a record script called rs_accesscontrol.
调用代码的一个例子,其是一个recordscript,名为rs_accesscontrol。
An example of calling code in the access control hook of an action.
在一个action的accesscontrolhook中调用代码的一个例子如下。
The second method Beth Massi describes is calling VSTO code from within VBA macros.
Beth Massi描述的第二种方法就是从VBA宏调用VSTO代码。
While this is easy to encapsulate, it's still a portability barrier because it requires you to rewrite your lookup and calling code, effectively tying your application to the JBoss platform.
虽然这样的代码易于封装,但是在可移植性上仍然存在障碍,因为它需要重新编写查找和调用代码,这实际上将应用程序捆绑到了JBoss平台上。
More profoundly, the previous version of the code was able to return the toppings panel back to the calling code, and the calling code was then able to add the toppings panel to the parent panel.
更深入地看,代码的先前版本能够将toppings面板返回给调用代码,并且调用代码随后可以将toppings面板添加到父面板中。
That contract does not allow this method to throw a run-time exception (barring violations of generic type safety that qualify as bugs in the calling code).
这个合约不允许该方法抛出运行时异常(防止因违反泛型类型安全而成为调用代码中的bug)。
Client code calling the data logic method can catch the user-defined exception.
客户端代码调用数据逻辑方法可以捕获用户定义的异常。
Just as different automobiles can park in a parking space at different times, the calling code can pass a different argument to the same parameter every time that it calls the procedure.
就像一个停车位可以在不同时间停放不同的汽车一样,调用代码在每次调用过程时可以将不同的实参传递给同一个形参。
A demand causes the runtime to perform a security check to enforce restrictions on calling code.
要求使运行时执行安全检查,从而对调用代码实施限制。
The calling code can obtain the information it needs to pass to the procedure and then call a single procedure name, no matter what arguments it is passing.
调用代码可以获取它需要传递给过程的信息,然后调用单个过程名,无论它传递的是什么参数。
Let us take a look at the calling code.
让我们看看调用代码。
The procedure code does not have any access to the underlying element in the calling code.
过程代码不具有任何访问调用代码中的基础元素的权限。
In some cases, the procedure code can change the value underlying an argument in the calling code.
在某些情况下,过程代码可以更改调用代码中作为实参基础的值。
Normally you pass a parameter by value, unless you want the procedure to be able to change its value in the calling code.
通常按值传递参数,除非希望过程能够更改其在调用代码中的值。
Normally you pass a parameter by value, unless you want the procedure to be able to change its value in the calling code.
通常按值传递参数,除非希望过程能够更改其在调用代码中的值。
应用推荐