中介程序模型基于下列四个接口。
The mediations programming model is based around four interfaces.
工作不安全感部分中介程序公平对整体工作满意度和组织承诺的影响。
Job insecurity partially mediated the influences between procedural justice on job satisfaction and organizational commitment.
然而,中介程序模型提供一个所有消息的服务数据对象(Service Data Object,SDO)接口,以及访问这些不同种类消息属性和元数据的通用API。
However, the mediation programming model provides a Service data Object (SDO) interface to all messages and a common API for accessing properties and metadata.
通过使用该中介,您可以捕获到消息被其它中介处理程序处理之前与之后的景象。
You could use this process to capture before and after images of messages that are processed by other mediation handlers.
您通过序列号指派中介处理程序到一个或多个中介处理程序清单。
You assign mediation handlers to one or more mediation handler lists along with a sequence number.
您在安装和配置中介处理程序前,需要将它打包到一个EAR文件中。
Before you can install and configure the mediation handler, you need to package it into an EAR.
您的中介处理程序在其实例中不会处理状态信息。
As such, your mediation handler should not maintain state information within its instance.
前一篇文章中提供了关于如何开发和测试基本中介处理程序的详细说明,因此我们将主要讨论中介处理程序的代码。
The previous article provided detailed instructions on how to develop and test a basic mediation handler, so this time we will focus on the code for the mediation handlers.
即使这需要创建和安装中介处理程序列表来处理响应。
Even this requires creation and installation of mediation handler list to process the response.
中介处理程序组合的一个例子是日志中介处理的使用。
An example of mediation handler composition is the use of a logging mediation handler.
中介包括一组中介处理程序;在我们的示例中,该列表只包含一个本部分中描述的中介处理程序。
A mediation consists of a list of mediation handlers; in our case, the list contains only the single mediation handler described in this section.
本文假定您已经掌握开发、部署和测试简单中介处理程序的方式。
This article assumes that you understand how to develop, deploy, and test a simple mediation handler.
中介处理程序的下载版本包含有附加的跟踪和调试语句。
The download version of the mediation handlers contain additional trace and debug statements.
日志中介处理程序可被在其它中介之前或之后被调用。
The logging mediation handler could then be invoked before and after other mediations.
在引言中讨论过,通过组装中介处理程序到同一个处理程序列表中来组合中介处理程序是可行的。
As discussed in the Introduction, it is possible to compose mediation handlers together by assigning them to the same mediation handler list.
值的设置将包含在中介处理程序的部署描述符中。
The value set is contained in the deployment descriptor for the mediation handler.
引用对象的字段也可以作为中介处理程序参数公开。
Fields that reference objects can also be exposed as mediation handler parameters.
默认情况下,中介处理程序的清单名与中介处理程序名一致。
By default, the mediation handler list name is the same as the mediation handler name.
在EJB部署描述符中定义中介处理程序。
Define the mediation handler in the EJB deployment descriptor.
现在就可以组装、部署和测试这个新的中介处理程序了。
You can now assemble, deploy and test this new mediation handler.
包含在中介处理程序清单中的中介处理程序将被指定的序列调用。
The mediation handlers contained in the mediation handler list are invoked in their specified sequence.
我们也论证如何来编写简单中介处理程序,如何在中介处理程序列表中组装它们,并描述了如何部署中介。
We also demonstrated how to write simple mediation handlers and assemble them in mediation handler lists, and described how to deploy a mediation.
下表显示了中介处理程序的属性及其可以具有的效果。
The table below shows the mediation handler's properties and the effects they can have.
中介处理程序列表可能包含一个或多个中介,并且控制中介的执行顺序。
Mediation handler lists may contain one or more mediations, and they control the order in which mediations are executed.
部署描述符编辑器自动将中介处理程序放在与中介处理程序同名的列表中;结果如图13所示。
The deployment descriptor editor automatically places the mediation handler in a list with the same name as the mediation handler; the result is shown in Figure 13.
中介处理程序的一个实例将被重用,这就非常象无状态EJB。
An instance of the mediation handler may be reused, exactly like a stateless session EJB.
中介处理程序可以修改、重新路由或甚至删除该消息。
A mediation handler can modify, reroute, or even delete the message.
可以看到中介处理程序的空列表。
中介处理程序运行在EJB容器中。
中介处理程序运行在EJB容器中。
应用推荐