Next, you must define an application class.
接下来,必须定义应用程序类。
It defines a few fields and provides an application class name.
它定义了几个字段并提供一个应用程序类名称。
You would replace DemoApp with the name of your application class.
您可以用自己的应用程序类的名称来替代 DemoApp。
Configure the Login Module for your application class in your JAAS configuration file.
在JAAS配置文件中为应用程序类配置LoginModule。
This method creates an application class, DerbyDatabase and calls its initialize method.
该方法创建一个应用程序类DerbyDatabase,然后调用它的initialize 方法。
When you've defined your application class, place the following macro somewhere in your code.
定义了应用程序类之后,在代码中放上如下的宏。
You will retrieve the data when the first application class (OneViewController) is instantiated.
在实例化第一个应用程序类(OneViewController)时,您将检索数据。
Table 2 shows some examples of how to apply an application-wide setting in the application class.
表2给出了一些示例,展示了如何将应用程序级别的设置应用于application类。
This paper puts forward a new framework of operating system security supporting application class security.
文章提出了一种支持应用类安全的操作系统安全结构框架。
An application class loader leak occurs when applications are restarted but their class loaders are not cleaned up.
当应用程序重启但它们的类加载器没有清理时,将发生应用程序类加载器泄露。
In real applications it is more likely that we will need to operate on a concrete instance of a Wicket application class.
实际应用则是操作一个Wicket应用类的具体实例。
The servlet creates an instance of an application class that boots the Derby database engine and creates a Derby database.
这个servlet创建应用程序类的一个实例,该实例启动Derby数据库引擎,并创建一个 Derby 数据库。
If you were to extend the application class for the example contact information application, it would look similar to Listing 13.
若为这个示例联系信息应用程序扩展这个application类,它应该类似于清单13。
You can either use a simple GUI interface or a console application to run the bytecode enhancements on your application class files.
可以使用一个简单的GUI界面或者控制台应用程序来在应用程序类文件上运行字节码增强。
The framework assures the security implementation of application class security policy using operating system security services.
这个框架利用操作系统提供的安全服务为各种应用类安全策略的实施提供了安全保证。
An application class can extend this class directly or can use one of the static methods to create an instance using a ResponseBuilder.
应用中的类可以直接继承Response类,也可以使用其静态方法来通过ResponseBuilder创建实例。
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.
您必须使EJB远程接口的客户端类对应用程序类加载器可用。
While deploying, class loading conflicts are resolved by using a different application class loader for each enterprise application module.
在部署阶段,类加载冲突通过对不同的企业应用程序模块使用不同的应用程序类加载器得以解决。
Application class loader Leaks lists all of the application class loaders, indicating whether any of them are stopped and therefore leaking.
Application ClassLoaderLeaks列示所有应用程序类加载器,表明它们是否被停止,因此导致泄漏。
Listing 10: Warsaw project main application class with example usage of Spring bean injection mechanism and annotation-based web page scanner.
清单10:warsaw项目的主应用类,其中示范了Spring类注入机制和基于注解的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.
由于war类加载器是应用程序类加载器的子类,所以所有版本的Web模块都可以封装在同一个企业应用程序中。
To ensure that the Web application class loader picks up the portlet TLD files, you must also declare the portlet taglib directly, as shown in Listing 10.
为了确保Web应用程序类装入器获得portletTLD文件,您还必须直接声明 portlettaglib,如清单10 所示
Breaking up the application in this manner allows different EJB component versions to be isolated with different application class loaders, one per EAR file.
通过这种方法拆分应用程序可以使不同版本的EJB组件隔离开来,这种隔离是通过使用不同的应用程序类加载器实现的,一个EAR文件对应一个类加载器。
If this main application class is defined in the base project (Warsaw in this case), then we cannot add new web pages in the dependent applications (Global).
如果主应用类是在基项目(这里是Warsaw)里定义的,那依赖应用(Global)就不能添加新的Web页面了。
First of all, in web application class we have to add a component instantiation listener that is responsible for injecting dependencies into Wicket components.
首先,在Web应用的类里,我们必须添加负责将依赖注入Wicket组件的组件实例化监听器。
An application class and packet priority-based queue management and adaptive packet drop mechanism in the routers for Internet congestion control is put forward.
提出了一种基于应用类别和分组优先级的队列管理与自适应丢包机制,用于路由器内因特网拥塞控制。
The system class loader (also known as the application class loader) is the class loader responsible for loading code from the path specified by the CLASSPATH environment variable.
系统(system)类装入器(也称作应用程序类装入器)负责从CLASSPATH环境变量指定的路径装入代码。
Web modules within the J2EE application are loaded using a WAR class loader that is a child of the application class loader for the enterprise application containing the Web module.
J2EE应用程序中的Web模块通过war类加载器来加载,这个类加载器是企业应用程序中的应用程序类加载器的一个子类。
The application ClassLoader Leaks query will find all stopped application class loaders and interrogate suspects that cause the class loader to be ineligible for garbage collection.
Application ClassLoaderLeaks查询将找到所有停止的应用程序类加载器,询问可能导致类加载器不适合垃圾收集的可疑对象。
Jetty creates an instance of the application class, DerbyDatabase, which boots the embedded Derby engine, creates the database (only once), and creates two tables and loads some rows.
Jetty创建应用程序类的一个实例DerbyDatabase,该实例启动嵌入式Derby引擎,创建数据库(只此一次),然后创建两个表并装载一些行。
应用推荐