接下来,必须定义应用程序类。
用于数据源的三个应用程序类是
图2中带绿色阴影的类是主要的应用程序类。
The green-shaded classes in Figure 2 are the main application classes.
它定义了几个字段并提供一个应用程序类名称。
It defines a few fields and provides an application class name.
定义了应用程序类之后,在代码中放上如下的宏。
When you've defined your application class, place the following macro somewhere in your code.
第三部分将继续检测应用程序类并测试该应用程序。
The third part continues to examine the application classes and tests the application.
字节码插装:该流程将字节码注入到应用程序类中。
Bytecode instrumentation: This is the process of injecting bytecode into the application classes.
主要目的是全面了解一个重要应用程序类的管理功能。
The major takeaway is an end-to-end understanding of management of an important application class.
我们还可以用这个方法测试非可视化应用程序类中的值。
We can in this way test values of non-visual application classes as well.
您可以用自己的应用程序类的名称来替代 DemoApp。
You would replace DemoApp with the name of your application class.
解决类可视性问题的惟一方法是确保所有的应用程序类都可见。
The only way to resolve class visibility problems is to ensure that all the application classes are visible.
您必须使EJB远程接口的客户端类对应用程序类加载器可用。
You must make the client classes of the EJB remote interfaces available to the Web application class loader. This can be done in two ways.
运行状态:GBean处在运行状态,协调其包含的应用程序类。
Running: the GBean is in the running state, coordinating the application classes that it contains.
在JAAS配置文件中为应用程序类配置LoginModule。
Configure the Login Module for your application class in your JAAS configuration file.
我希望本文能开阔您的视野,使您能编写一个全新的图像处理应用程序类。
I hope the article will open your eyes to the possibility of writing a whole new class of image-processing applications.
APP _ CLASSES是指定应用程序类(包括端点接口类)的目录。
APP_CLASSES is where directories with application classes (including the endpoint interface class) are specified.
当应用程序重启但它们的类加载器没有清理时,将发生应用程序类加载器泄露。
An application class loader leak occurs when applications are restarted but their class loaders are not cleaned up.
这通常就是我们想要的,并且对于配置那些框架并不了解的应用程序类,也是理想的。
This is normally what we want, and is ideal for configuring application classes that the framework does not know about.
在实例化第一个应用程序类(OneViewController)时,您将检索数据。
You will retrieve the data when the first application class (OneViewController) is instantiated.
可以使用一个简单的GUI界面或者控制台应用程序来在应用程序类文件上运行字节码增强。
You can either use a simple GUI interface or a console application to run the bytecode enhancements on your application class files.
在部署阶段,类加载冲突通过对不同的企业应用程序模块使用不同的应用程序类加载器得以解决。
While deploying, class loading conflicts are resolved by using a different application class loader for each enterprise application module.
框架出于某种原因需要以一致的方式与应用程序类交换数据,而不是强制应用程序类遵循严格的模型。
The framework somehow needs to get data into and out of the application classes in a consistent manner, without forcing the application classes to follow a rigid model.
如果这样,那么当我们孤立地考虑它的时候,我们实际上能够对这个应用程序类地代码行为理解多少呢?
If that is so, then how much can we truly understand about the behavior of the application class's code when we consider it in isolation?
例如,从应用程序类路径中的每个JAR装载的第一个类总是从磁盘装载并存储,无论它是否在缓存中存在。
For example, the first class load from each JAR on the application classpath is always loaded from disk and stored, regardless of whether it exists in the cache or not.
该方法创建一个应用程序类DerbyDatabase,然后调用它的initialize 方法。
This method creates an application class, DerbyDatabase and calls its initialize method.
dojo是一个包系统,可用来在文件内构造应用程序类并通过dojo . require函数加载它们。
Dojo has a package system for structuring the application classes in files and loading them through the dojo.require function.
应用程序类加载器负责加载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.
首先,向应用程序类路径添加jboss - ajax4jsf . jar库及其依赖项oscache . jar。
First, add the jboss-ajax4jsf.jar library and its dependency, oscache.jar, to your application's classpath.
由于war类加载器是应用程序类加载器的子类,所以所有版本的Web模块都可以封装在同一个企业应用程序中。
Since WAR class loaders are children of application class loaders, all versions of the Web modules may be packaged in a single enterprise application.
此外,通过提供被注入对象的存根实现、改进测试覆盖率和代码质量,可轻松对编写良好的应用程序类执行单元测试。
Furthermore, well-written application classes can easily be unit tested by providing stub implementations of the injected objects, improving test coverage and code quality.
应用推荐