这个描述符被包括在服务类成员之中。
This descriptor is included as a member of the service class.
这个服务类显示在清单1中。
创建所有api类的服务类。
该服务类将实现api类中定义的方法。
The service class implements the methods defined in the API class.
第二种是提供给其选民的服务类信息。
创建服务类的控制器类。
这有助于服务类实例放弃它正在使用的资源。
This helps the service class instance relinquish the resources it is using.
另外,请注意,这个服务类并没有实现任何接口。
Also, notice that the service class does not implement any interfaces.
在服务类中实现作为公共实例方法的API方法。
Implement the API methods in the service class as public instance methods.
执行所提供服务的服务类
清单4创建了一个单独的服务类,它包含两个函数。
Listing 4 sets up a standalone service class containing two methods.
欧洲造船厂擅长设计电缆铺设船和其他服务类船只。
Europe’s shipmakers are adept at designing cable-laying ships and other service vessels.
这一点可以通过随调用消息输出的服务类名称得到验证。
This can be verified by the service class name printed with the invocation message.
这意味着它们仅为这些服务类或服务子类收集数据。
This means that they only collect data for service (sub -) classes they have been activated for.
这些看起来和我所描述的Web服务类有着相似的目的。
These seem to have similar goals as to what I have described as Web service classes.
这样,我们可以修改后台存储而不必重写服务类。
That way, we can change the backing store without rewriting the service class.
实施不同绑定的多个末端点可以由服务类来定义(图12)。
Multiple endpoints that implement different bindings can be defined by service class (Figure 12).
编写这些服务类之前,下载并安装需要的AMFPHP文件。
Before writing the services classes, download and install the required AMFPHP files.
在控制器类中指定的所有api服务类的API方法都将被列出。
API methods for all the API service classes specified in the controller class get listed.
用web_service选项将服务类与控制器类绑定在一起。
Attach the service classes to the controller class with the web_service option.
使用web_service选项将服务类与控制器类绑定在一起。
Attach the service classes to the controller class using the web_service option.
相反,可以在Web服务类方法中使用以下内容作为参数或返回值。
Conversely, you can use the following as parameters or return values in a Web service class method.
下图17中显示了一个做了所有工作的类并且是真正的Web服务类。
Below in Figure 17 is the class that does all the work and is the actual Web service class.
这个服务类只是在一个临时位置中以一个XML小文件的形式写出一些值。
The service class simply writes out the values as a small XML file in a temporary location.
用web_service_api选项将api类与服务类绑定在一起。
Attach the API class to the service class with the web_service_api option.
这种类型的问题通常是由于配置文件以及Web服务类之间的差异所造成的。
This kind of issue is commonly due to a difference in the configuration files and the web service classes.
WLM允许您将具有不同响应时间需求的工作负载分配给不同的服务类和服务子类。
WLM allows you to assign workloads with different response time requirements to different service classes and service subclasses.
通过使用筛选器,可以向下钻取到某一数据库上的工作负载,了解工作负载的服务类。
Using filters, you can drill down into a workload based on a particular database to examine the service class for the workload.
示例3:您想将为SCSTATS逻辑组中每一个服务类捕获的指标提取到关系表中。
Example 3: You want to extract the metrics captured for each service class in the SCSTATS logical group into a relational table.
EJB代理应用程序的EJB项目也需要能够识别依赖JAR文件中的Web服务类。
The EJB project for the EJB proxy application also needs to be aware of the Web service classes in a dependent JAR file.
应用推荐