It defines a few fields and provides an application class name.
它定义了几个字段并提供一个应用程序类名称。
Additionally, you can name your application delegate class whatever you want.
另外,你也可以任意命名你的应用程序委托类。
Listing 4 shows this code, in the form of an application that takes a pair of command-line arguments giving the class name and method name to be timed.
清单4展示了该代码,它是一个带有两个命令行参数的应用程序,这两个参数分别给出类名和要计时的方法名。
The implementation class name is never used by other layers of the data access application; they always reference and use the user-defined data access interface.
数据访问应用程序的其他层不会使用实现类的名称;它们总是引用和使用用户定义接口。
As each anonymous class has a unique name there are no issues loading it and as a result the application is updated on-the-fly.
因为每个匿名类都有一个唯一的名称,因此在加载该类是不会有问题的,而这样做的结果是,应用被实时动态地更新了。
To run an application stored in a non-executable JAR, you have to add it to your class path and invoke the application's main class by name.
要运行存储在非可执行的JAR中的应用程序,必须将它加入到您的类路径中,并用名字调用应用程序的主类。
The first parameter is the name of the application, and the third is the fully qualified class name of the application's main class.
第一个参数是应用程序的名称,第三个参数是应用程序主类的完全限定类名。
By reading the content of this XML file, the application object learns about the name of the assembly to load and the class to pick up in it.
通过阅读XML文件内容,应用程序对象知道了相应的程序集名称和其中要找的类。
Since the name of the table class is derived from the name of the application handler, this is not too difficult.
因为表类的名称源于应用处理程序的名称,所以这并不太难。
The application component which is responsible for the memory leak is often identified by the package name and class name of the data types which are part of growing regions.
导致内存泄漏的应用程序组件通常由构成增长区域的数据类型的包名称和类名称标识。
Each EAR application should have a unique string name for the class loader. Here, we use the application name in the class loader name to avoid repetition.
这里我们使用应用程序名作为类加载器的名称,以避免重复。
For this example, we will create a MediationLogWriter class for writing entries to the application server log using log name and level specific to its construction.
对于这一示例,我们将创建一个mediationlogwriter类,来使用特定于应用服务器构造的日志名称和级别为其编写条目。
The portlet.xml file shown in Listing 3 provides information, such as portlet name, title, class, and mode, for all the portlets contained in the portal application.
清单3中显示的portlet . xml文件将为门户应用程序中包含的所有portlet提供诸如portlet名称、标题、类和模式之类的信息。
You would replace DemoApp with the name of your application class.
您可以用自己的应用程序类的名称来替代 DemoApp。
In Listing 8, the Resource element contained the name of the class that ACTS as an entry point into the application model.
在清单8中,Resource元素包含一个类名,该类充当进入应用程序模型的入口点。
In the Tomcat hierarchy of class loaders shown in Figure 1, for instance, classes loaded by the Common class loader will never be able to directly access (by name) classes loaded by a Web application.
例如,在图1显示的Tomcat类装入器层次结构中,由common类装入器装入的类决不能(根据名称)直接访问由Web应用程序装入的类。
The first name-value pair specifies the name of the class that is the primary application driver, which is DemoApp in this case.
第一个名称-值对将指定主要应用程序驱动程序的类的名称,本例中为 DemoApp。
If an application needs to have both instances of a type as well as some kind of "global" instance, a Scala application will allow both a class definition and an object definition of the same name.
如果应用程序需要同时具有某个类型的实例和某种“全局”实例,则Scala应用程序将允许以相同的名字同时定义class和object。
Thrown when an application tries to load in a class through its string name using
当应用程序试图通过类的字符串名称,使用以下三种方法装入类,但却找不到指定名称的类定义时抛出该异常。
The data model in the hello world application is simply a Person class with a name and an id property.
Helloworld应用中的数据模型仅仅是一个有name和id属性的person类。
For example, the WorkQue column now has a name of "CBDEF," which is the default service class for WebSphere Application Server type workload in this testing environment.
例如,WorkQue列现在具有名称“CBDEF”,这是WebSphereApplicationserver类型的工作负载在此测试环境中的缺省服务分类。
In a servlet container that's considered JAX-RS aware, the Application subclass name can be supplied as the value of the servlet-class element within the servlet definition.
在一个被认为是能感知JAX- RS的servlet容器内,必须作为servlet定义内的servlet类元素的值提供application子类名。
In this case, append this fully qualified class name with concrete as the UID for the concrete portlet application.
在这种情况下,添加这个带有concrete的全限定类名作为concreteportletapplication的UID。
Those repetitions make the application prone to minor errors (e.g., a mis-spelled class name would show up as an hard-to-debug error at runtime).
这些重复使应用易于出错(例如,一个拼写错误的类名可能在运行时显示为一个难于调试错误)。
WebSphere application Server can provide enterprise class facilities to your Spring applications, such as transaction support, work load management and high availability, to name a few.
WebSphereApplicationServer可以为Spring应用程序提供企业级的工具,如事务支持、工作负载管理和高可用性等等。
Flags that govern how the class name is matched against window classes found in the target application.
控制如何根据目标应用程序中的窗口类对类名进行匹配的标志。
This class also contains properties that identify the view to be rendered, the name of the view, view data, temporary data, and a collection for view engines for the application.
此类还包含标识要呈现的视图、视图的名称、视图数据、临时数据以及应用程序视图引擎集合的属性。
This class also contains properties that identify the view to be rendered, the name of the view, view data, temporary data, and a collection for view engines for the application.
此类还包含标识要呈现的视图、视图的名称、视图数据、临时数据以及应用程序视图引擎集合的属性。
应用推荐