Using a selector for simple dispatch.
将选择器用于简单的分派。
什么是选择器?
Exercise 1: Simple dispatch using a selector.
练习1:使用选择器的简单分派。
Figure 6 shows how we would create such a selector.
图6展示了如何创建这样的选择器。
A CSS rule consists of a selector and a declaration block.
CSS规则由一个选择符和一个声明块组成。
In this section, you add a selector to an existing application.
在本部分中,您将把选择器添加到现有应用程序中。
You can call a selector from any of your service-oriented components.
您可以从任何面向服务的组件调用选择器。
When a selector is provided, items matching the selector will be removed.
如果提供了一个选择器,那么只移除与选择器匹配的项。
As mentioned earlier, the load has a selector to gather files from the Slots.
前面曾经提过,加载有一个选择器,用于从数据槽收集文件。
We have covered how you can use a selector in a simple dispatch scenario.
我们向您介绍了如何在简单的分派场景中使用选择器。
You use a selector to invoke different service implementations based on a date.
可以使用选择器来根据日期调用不同的服务实现。
The display should now update to one that includes a selector for the organization.
屏幕现在应该会更新,会增加选择组织的控件(图 8)。
The elements of the document tree that match a selector are called subjects of the selector.
文档树中匹配一个选择符的元素称为那个选择符的主题。
Later in the article, you will try this out by creating a selector that performs a simple dispatch.
在本文的稍后部分中,您将通过创建执行简单分派的选择器来尝试此操作。
Like a rule group, a selector has date range entries, selection criteria, and a default destination.
与规则组一样,选择器拥有日期范围条目、选择条件和缺省目标。
In other words, a selector can dynamically re-route a service call to any other component at runtime.
换句话说,选择器在运行时可以将服务调用动态地重新路由到任何其他组件。
In exercise 1, you will create a selector that has one default destination and two date range destinations.
在练习1中,您将创建一个具有一个缺省目标和两个日期范围目标的选择器。
An event group profile object defines a selector string which determines which events belong to this group.
事件组概要对象定义了选择器(selector)字符串来决定哪些事件属于这个组。
That is, when a selector is invoked, it selects a destination using the selection criteria and date range entries.
也就是说,当您调用某个选择器时,它使用选择条件和日期范围条目来选择目标。
For example, Figure 4 shows a selector that can choose from two Web service imports, each having a different interface.
例如,图4显示了可以从两个Web服务导入选择的选择器,每个Web服务导入具有不同的接口。
The invoke Credit Checking Service activity calls a selector that will decide at runtime which implementation to invoke.
InvokeCreditCheckingService活动调用选择器,决定在运行时调用哪一个实现。
The destination of a selector can be a component inside the assembly diagram of the same module or an export of another module.
选择器的目标可以是相同模块的组装关系图中的组件,或另一个模块的导出。
When you first create a selector, it opens in a graphical editor, as Figure 6 shows, in which you can specify more information.
第一次创建选择器时,它会在图形编辑器中打开(如图6 所示),其中,您可以指定详细信息。
Figure 4 illustrates how a selector is composed to group files for the load. A selector in general has three types of specs to select files.
图4说明了选择器如何构成以对加载的文件进行分组。
The existing application invokes a static service implementation, so you will make the application more flexible by introducing a selector.
现有应用程序会调用静态服务实现,因此通过引入选择器可以使应用程序变得更灵活。
We start with a selector matching any message with a sequence number of 1, and once we have that message, we determine which group it is in.
首先,我们使用选择器来匹配任何序列号为1 的消息,获得此消息后,我们将确定其所属的组。
We recommend picking a selector name with a prefix to ensure that it cannot conflict with any standard HTML attribute, now or in the future.
我们建议在给选择器起名时加个前缀,以确保它不会和任何标准的HTML属性冲突,无论是现在还是未来。
You can update or modify the destinations of a selector and their corresponding date ranges at runtime without redeploying the original application.
您可以在运行时更新或修改选择器及其对应的日期范围的目标,而无需重新部署初始应用程序。
If you try to use a selector where the operation name does not match, then you get a ServiceRuntimeException saying the operation name cannot be resolved.
如果您尝试使用操作名称不匹配的选择器,那么将收到ServiceRuntimeException,指示不能解析操作名称。
应用推荐