Listing 1 shows an example of the implementation code.
清单1显示了实现代码的示例。
Note that implementation code isn't included in these examples.
注意,实现代码并未包含在这些例子中。
The implementation code is written against the generated API code explained above.
实现代码可以针对之前介绍的生成的API代码来编写。
That's not too difficult to do, but the implementation code becomes fairly complex.
这并不太难做到,但是实现代码将变得相当复杂。
These APIs are directly exposed to the implementation code which leads to the following.
这些API直接暴露给实现代码,导致了以下后果。
You'll probably create many files for header and C/C++ implementation code files in this way.
您可能会用这种方法创建许多头文件以及C/C++实现代码文件。
A code generator pre-processes the interface to generate implementation code for each annotated method.
代码生成器对接口进行预处理,生成每个带注释的方法的实现代码。
The detailed marshalling and unmarshalling implementation code gets added directly to the bound classes.
详细的编排和反编排实现代码被直接添加到绑定类中。
Because only skeleton code is generated, you must next provide concrete implementation code for each class.
因为只生成了框架代码,接下来必须为每个类提供具体的实现代码。
This implementation code prints the name of the user accessing the method and the method name. RUP example.
这个实现代码打印出访问方法的用户的名称和方法名称。
When you use a specific, concrete implementation, your code must change if your implementation code changes.
当您使用一个特定的具体实现时,代码也必须随着实现代码的更改而更改。
Performance, on the other hand, is subject to change over time as the actual implementation code is modified.
另一方面,随着实际实现代码的修改,性能总在发生着变化。
See the plug-in code provided with this article for the detailed implementation code used for the JKE scenario.
有关用于JKE场景的详细实现代码,请参见本文提供的插件代码。
A code generator pre-processes the interface to generate implementation code for each declared, annotated method.
代码生成器预处理接口,为每个已声明的、带有注释的方法生成实现代码。
Listing 6 shows the final portion of the implementation code, which actually adds the toString method to a class.
清单6展示了实现代码的最后部分,它实际上向类添加了toString方法。
In this context, artifacts can be anything, such as a requirement, a design model, implementation code, or a test case.
在此上下文中,构件可以为任意内容,如需求、设计模型、实现代码或测试用例等。
In the EJB implementation code, as a part of exception handling, set the transaction to Rollback, as shown in Figure 11.
在EJB实现代码中,作为异常处理的一部分将事务设置为Rollback,如图11所示。
Does it matter whether the individual writes tests before implementing the code or after the implementation code is written?
个人编写测试是在执行代码之前还是在执行代码被编写之后,这个问题真的很重要吗?
The container loads the implementation code of the service, provides connectivity to the ESB, and manages service instances.
容器加载服务的实现代码,提供到esb的连接性,并管理服务实例。
Before adding implementation code to the resource, create a few classes that provide enough implementation to test the functions.
在向资源添加实现代码前,创建一些新的类来提供足够实现以测试函数。
This allows the web service implementation code to be optimized toward the business logic and to be invoked only for valid requests.
这使Web服务的实现代码能够朝着业务逻辑的方向得到最优化,而且只能通过有效的请求才能被调用。
Their common basis in MDA will also promote partial generation of implementation code, but that code, of course, will not be standardized.
MDA的公共基础也会促进部分代码的生成和实现,当然这些代码不是标准化的。
The first step is to do a careful analysis of the implementation code and identify areas where it might be tuned to achieve better performance.
第一步要对实现代码进行仔细的分析,并确定可以对哪些方面进行调整以实现更佳的性能。
System classes, for instance, are not modifiable, while user-defined interface classes can be modified, but can't include actual implementation code.
例如,系统类是不可修改的,而用户定义接口类虽然可以修改,但是不能包含实际的实现代码。
Metaprogramming offers a great way to differentiate pattern code from implementation code because you express your pattern by using code that is about code.
元程序设计提供一种不错的方式将模式代码与实现代码区分开来,因为您使用关于代码的代码来表达您的模式。
The service implementation code doesn't need to do anything special to make this happen; all you have to do is add the binding to the service's configuration.
而服务的实现不需要做任何特别的改变来促成这个目标,你要做的仅仅是为服务增加一条绑定配置。
This interface keeps the implementation code simple — always an advantage when working with bytecode — but means that the implementation class is very specific.
这个接口使实现代码简单了——在处理字节码时这总是一个优点——但是也意味着实现类是非常特定的。
Business implementation code often gets intertwined with the service communications support, which makes its harder to implement, understand, maintain and debug.
业务实现代码经常与服务通信支持代码搅和在一起,它使得实现、理解、维护和调试变得更加困难。
A class definition for the implementation code: this class must become the PortType class named in the Basics TAB of the properties box, and the class must be public.
实现代码的类定义:该类必须成为属性框的Basics选项卡中指定的porttype类,并且该类必须是公有的。
A disadvantage is that the versioned Web service name may find its way into the generated implementation code, depending on the Web services development toolkit used.
该方法的一个缺点是,可能会在生成的实现代码中出现受版本控制的Web服务名称,具体取决于所使用的Web服务开发工具包。
应用推荐