这个清单给出单元测试使用的实用程序类。
The listing shows a utility class that gets used by the unit test.
构建模型和实用程序类。
然后将在以前使用的DB实用程序类中调用新方法。
It then calls a new method in the DB utility class we have used previously.
获得的每个动态服务都将调用对应的服务实用程序类。
For each dynamic service obtained, the corresponding services utility class is invoked.
jar:包含订户和发布方实用程序类的jar文件。
WASv5WSNTExtensions.jar: a jar file containing the utility classes for subscribers and publishers.
Qt提供窗口构件、许多实用程序类和一个核心对象模型。
Qt provides the widgets, the many utility classes, and a core object model.
这个实用程序类可以包含针对所有这类关键字或函数的函数。
This utility class can have functions for all such keywords or functions.
JNDIREFNAMES是一个实用程序类,它拥有引用的各种类型的值。
JNDIREFNAMES is a utility class that holds the values of various types of references.
注意,对于每个方法,我们将调用实用程序类dbmanager以获得连接。
Notice that for each method, we make a call to a utility class, DbManager, to get a connection.
调用动态服务实用程序方法,从而提供对要调用的正确的服务实用程序类的映射。
Call the dynamic service utility method for providing mapping to the correct service utility classes to invoke.
BaseDbProvider 为使用MySQL数据库提供一个实用程序类。
The BaseDbProvider provides a utility class for working with MySQL databases.
通过创建简单的实用程序类很容易获得异步远程接口的实例(清单8中的第7 - 13行)。
A simple utility class is created to easily get the instance of the async remote interface (lines 7-13 in Listing 8).
不同的应用程序加载类可以使相同的ejb类以及ejb类使用的实用程序类的不同版本得以分离。
Different application class loaders may be used for isolating multiple versions of the same EJB classes, and the utility classes used by the EJB classes.
因为每个服务实用程序类所需调用的UR n名和方法名都将是唯一的,所以它们都有其自己的实现。
Each service utility class has it own implementation, since the URN name and method name each needs to invoke will be unique.
在这个示例中,该方法是一个if语句序列,这些语句将控制权转移到我们的实用程序类中的不同位置。
In this example the method is a series of if statements that divert control to different locations within our utility class.
ut il—字符串操作、cookie管理、数据操作、延迟动作支持和回调支持等任务的实用程序类。
Util — Utility classes for such tasks as string manipulation, cookie management, data manipulation, deferred action support, and callback support.
那些过剩的框架、实用程序类库、集成开发环境(IDE),以及可供选择的工具让一切都更加富有挑战性。
The plethora of frameworks, utility libraries, integrated development environments (IDEs), and tool options make it all the more challenging.
继续这个设计,您可以将所有的业务逻辑和转换映射放在一个实用程序类中,以供我们的控制器和JSP使用。
Continuing with this design, you can place all of the business logic and transition mapping in a utility class for use by both our controller and JSPs.
应用程序类加载器负责加载eJBJAR文件中的EJB模块以及封装在相关的JAR文件中的实用程序类。
The application class loader is responsible for loading EJB modules packaged in EJB JAR files and utility classes packaged in dependent JAR files.
如果需要SSL支持,那么可以修改实用程序类来添加这种支持,而视图(就像mvc中的视图一样)可以保持不变。
If you need SSL support, you can change the utility classes to add the support, while your view (like in MVC) stays the same.
决定实现一个实用程序类来进行数据访问的关键原因是,希望确保可以使用相同的类来连接任何类型的Domino数据库。
The key reason why we decided to have a utility class for data access was to ensure that the same classes could be used to connect to any type of Domino database.
因为它们有权访问整个解析树(除去实际方法主体),所以Doclet提供了一个简便机制来编译有关代码的实用程序类或报告。
Since they have access to the entire parse tree (minus the actual method body), Doclets provide a handy mechanism to compile utility classes or compile reports on the code.
一个附加的实用程序类在进行检查时会产生一些小麻烦,它会让HTML文档通过检查(即使那些文档没有xml必需的结束标记)。
One extra utility class implements a bit of fuzziness in the checking to get HTML documents to pass (even without having all the closing tags XML requires).
现在这个插件的核心功能已经实现并经过测试,您应该创建一个方便的服务,以一种Grails 友好的方式公开这两个实用程序类。
Now that the plug-in's core functionality is implemented and tested, you should create a convenience service that exposes the two utility classes in a Grails-friendly way.
例如,如果连接的是Oracle数据库,那么名为NVL的实用程序类函数返回nvl;如果连接的是DB2,那么返回COALESCE。
For example, a utility class function called NVL would return NVL if the database connection is with Oracle, and COALESCE if the DB connection is with DB2.
当然,程序员若只是为了能使用泛型类型而必须重新定义所有的标准实用程序类(比如Hashtable和List)的话,则可能会是一项浩大的工程。
Of course, it would be a significant amount of work for the programmer to have to redefine all of the standard utility classes — such as Hashtable and List — just to be able to use generic types.
如果该表不存在,则它调用数据库初始化代码ResourcesDatabaseInitializer,该代码在此示例中是初始化数据库的实用程序类。
If the table doesn't exist, it invokes the database initialization code, ResourcesDatabaseInitializer, which in this example is a utility class that initializes the database.
在发现新添加的服务之后,您就可以更新idynamicserviceregistry类从而为新发现的服务添加条目,并对相应的服务实用程序类进行编码了。
After discovering the newly added service, the IDynamicServiceRegistry class can be updated to add an entry for the newly found service and corresponding service utility classes can be coded.
TemplateUtils实用程序类用于在我们的附加组件包里为模板文件(info .tagx和show . tagx)获取一个InputStream。
The TemplateUtils: TemplateUtils utility class is used to acquire an InputStream to template files (info.tagx and show.tagx) in our add-on bundle.
如果它是个新会话,我们就用GroupInfo实用程序类来获取这个登录的用户所属的ldap组的列表,然后将它们添加到向量中,最后把这个向量存储在会话对象中。
If it is a new session, we use the GroupInfo utility class to get the list of LDAP groups the logged-in user belongs to, add them to a vector, and finally store the vector in the session object.
应用推荐