下面是我们整个基本的内容适配器代码。
适配器代码仅仅确定要使用的适当的消息处理程序。
The adapter code simply decides the appropriate message handler to be used.
下列的样本显示了两个INS版本的内容适配器代码。
The following samples show content adapter code for both INS versions.
适配器代码可以编译到它自己的程序集中。
我们来看一看适配器代码,特别是,元素是特定于MQLLM的。
Let's look at the adapter code, in particular the elements that are MQ LLM-specific.
根据的类型不同,封装内容适配器代码和运行内容适配器的步骤也是变化的。
The steps for packaging and running a content adapter vary according to the type of content adapter.
可以通过在包含设备适配器代码的目录中运行下列命令来编译适配器代码。
You can compile the adapter code by running the following command in the directory that contains the device adapter code.
与编写新的设备适配器代码相比,添加设备的新浏览器配置文件要更容易一些。
It is easier to add a new browser configuration file for a device than it is to write new device adapter code.
创建并部署将运行在用于CICS的SOAP环境下的适配器代码(以下称为消息适配器)。
Create and deploy adapter code (referred to later as a message adapter) that will run in a SOAP for CICS environment.
按照编写内容适配器代码的步骤1 - 7编写用于ClaimContentAdapter文件的代码。
Write code for the ClaimContentAdapter file as previously described in Steps 1-7 of Write the content adapter code.
适配器代码成为消息适配器,当完成一个现有CICSCOBOL应用程序的Web服务请求后,用于 CICS的SOAP将传递控制给此消息适配器。
This adapter code becomes the message adapter to which SOAP for CICS passes control when fulfilling a Web service request for the existing CICS COBOL application.
但是您不必编写任何新的代码,只需为源自现有的提供者API的新协议准备新的适配器即可。
But now you do not have to write any new code, only new adaptors for new protocols coming from existing provider API? S.
不同的可以被设置的返回代码在适配器文档中有所陈述。
The various feedback codes that could be set are documented in the adapter documentation.
适配器使用一种特定格式的消息文件来生成消息,这种格式包含错误代码和它们的描述符。
A message file in a specific format containing error codes and their descriptions is used by the adapters to generate messages.
这种适配器层封装了使用存根及其生成的类的代码。
Such an adapter layer encapsulates code that uses the stub and its generated classes.
较低层包含大量代码,原因是它要负责处理各种不同的SCSI适配器类型。
The lower level contains the largest amount of code because it accounts for the variations of SCSI adapter types.
这些产品无需适配器或检测代码即可内在地发送事件以发射公共基础事件。
These products natively send events without adapters or instrumenting code to emit Common Base events.
如清单6中所示,第一个代码片段,示范了您如何可以获得一列为具体的J2C资源适配器定义的连接工厂。
The first code snippet, shown in Listing 6, demonstrates how you can get the list of connection factories defined for a specific J2C resource adapter.
通过使用适配器,应用程序可以向数据库发送请求,以及从数据库接收事件,同时不需要编写SQL代码。
By using the adapter, an application can send requests to the database, as well as receive events from the database, and get rid of writing SQL code.
如果您是从ibm存储迁移到IBM存储,那么您可能只需要更新此MPIO代码、FC适配器固件以及设备驱动器。
If you are migrating from IBM to IBM storage, then it is likely that you will simply need to update the MPIO code, FC adapter firmware and supporting device drivers.
这可导致自动生成代码以创建将添加到组件托盘中的 ADO.NET连接、命令和数据适配器对象。
This causes code to be automatically generated to create the ADO.NET connection, command, and data adapter objects that are added to the component tray.
这样做可以减少大量的开发工作,因为它提供了一般J ca接口的实现并使得资源适配器开发人员能够把精力集中于特定的EIS集成代码。
This can save much development effort, as it provides implementations to generic JCA interfaces and lets resource adapter developers focus on EIS-specific integration code.
当您选择IMS适配器时,如图8所示,您将看到一个生成代码方案的图形表示。
When you select the IMS adapter, as shown in Figure 8, you see a graphical representation of the scenario for which the code will be generated.
您现在可以从您的EnterpriseApplication中运行的其它代码启用该内容适配器。
You can now launch the content adapter from other code running in your enterprise applications.
其中大多数都属于样板式代码(Boiler-plate),用于定义能够让所有内容工作的各种契约、适配器以及视图。
Most of this is just boiler-plate code used to define the various contracts, adapters, and views needed to make everything work.
要绕过这个限制,将适配器安装代码设置为Windows 2000兼容模式操作。
To get around this, the adapter installation code is set to operate in a Windows 2000 compatibility mode.
您必须手动添加用户界面控件,在它上面设置绑定,生成DataSet,还需要将代码添加到窗体的Load事件,以便利用DataSet填充数据适配器。
You had to manually add the user interface control, set the binding on it, generate the DataSet, and also add the code to the Load event of the form to fill the data adapter with the DataSet.
内容包括在每个节点上安装GPFS代码,以及为存储节点配置Qlogic适配器。
These include the installation of the GPFS code on each node and the configuration of the Qlogic adapters for the storage nodes.
与紧耦合方法不同,使用本文提出的适配器方法将给您留下可高度重用和可配置的Web服务代码。
Unlike a tightly coupled approach, using the adapter approach presented in this paper leaves you with Web services invocation code that is highly reusable and configurable.
与紧耦合方法不同,使用本文提出的适配器方法将给您留下可高度重用和可配置的Web服务代码。
Unlike a tightly coupled approach, using the adapter approach presented in this paper leaves you with Web services invocation code that is highly reusable and configurable.
应用推荐