EJB创建方法代码片断向导输出。
出于演示目的,我们使用手动创建方法。
For demonstration purposes, we will use the manual creation approach.
在创建方法时,我使它们都为public。
清单2和3显示了创建方法。
选择并调用Bean的创建方法,如图32所示。
Select and invoke the create method of the bean, as shown in Figure 32.
要实现回调,只需创建方法并适当地将其注释即可。
To implement callbacks, you'll simply create the method and annotate it appropriately.
现在需要转到那些显示可用创建方法的方法页面上。
You will now be taken to the methods page which displays the available create methods.
现在只需要三个创建方法,这还不算太坏。
清单3显示了文档库的Lifecycle创建方法。
Listing 3 shows the document library's Lifecycle create method.
以下介绍不可变字符串两种初始化创建方法。
After an immutable string has been initialized in the following way, it cannot be modified.
结论该全小肠切除大鼠模型创建方法切实可行。
Conclusions The method of establishing rat model of total small bowel resection is feasible.
在特殊化对象中,覆盖创建方法以返回为测试提供的模仿对象。
In the specialization object, override the creation method to return a mock object that accommodates your test.
这个标识符是由CAI创建的,在创建方法中作为第一个参数传递。
The identifier is created by CAI and passed as the first parameter in the create method.
我们将探索追加多个太极拳件相互关联的对象创建方法。
We will explore methods for appending multiple ShadowBox objects to create interconnected pieces.
这是一种更容易的图表创建方法,因为一些字段已经缺省地填充好了。
This is an easier way to create graphs, since a few fields are already populated by default.
从新创建方法的例子中,方法定义在这个项目的开始是空白。
In the case of a new method built from scratch, the method Definition is empty at the beginning of the project.
了解系统DSN和用户 DSN之间的差异以及它们的创建方法
Discovering differences between a System DSN and a User DSN and their creations
最后演示了如何按照最佳实践创建方法和类的库,从而简化GUI开发。
Finally, I demonstrated how you can follow best practice by creating a library of methods and classes to ease GUI development.
特殊化对象:覆盖创建方法以返回模仿对象而不是合作者的目标的子类。
Specialization object: a subclass of the target that overrides the creation method to return a mock instead of a collaborator.
在下一个对话框(图9)中,您可以为您要实现的特定方法创建方法存根。
In the next dialog (Figure 9), you can create method stubs for the particular methods you want to implement.
添加类注释并创建方法,以处理使用注释的不同REST操作,如清单3所示。
Add the class annotation and create methods for handling the different REST operations using annotations, as shown in Listing 3.
因此,开发人员不得不创建方法以确保Web页面在不同浏览器中的外观是相同的。
As a result, developers had to invent ways to ensure their Web pages had a uniform appearance across browsers.
在决定是否使用或怎样使用栅格之前,你应该了解栅格的一些基础知识以及创建方法。
Before deciding when, why, and how to use a grid you need to know the elements of the grid and how to create it.
通过使用 closures,您甚至可以对您的类进行编程,来允许动态创建方法。
With the use of closures, you can even code your classes to allow the dynamic creation of methods.
这个编译器为定义在接口中的每个支持的远程过程创建方法,并为RPC的参数生成属性。
The compiler generates a method for each supported remote procedure defined in the interface and properties for the arguments of the RPCs.
向量常量的创建方法如下:先是在圆括号中的向量类型,然后是使用花括号括起来的向量内容。
Vector constants are created by putting the type of vector in parentheses followed by the contents of the vector in curly braces.
到目前为止可以很清楚地看到,创建一个自定义组件是一件有益的事情,但是最佳创建方法是什么呢?
By now it should be clear that creating a custom component is a good thing, but what is the best way to create one?
要讨论这些问题,可以创建方法模型,以定义可以在方法、其属性及可能的关系中指定的事项的类型。
To address these questions, you can create a model of a methodology that defines the types of things that can be specified in a method, their attributes, and possible relationships.
本实例显示了如何利用EJB引用来查找Personbean的客户端接口和调用定制创建方法。
This example shows you how to use EJB references to look up the client interface for the Person bean and invoke the custom create method.
本实例显示了如何利用EJB引用来查找Personbean的客户端接口和调用定制创建方法。
This example shows you how to use EJB references to look up the client interface for the Person bean and invoke the custom create method.
应用推荐