当您创建规则并从那些规则调用服务时,将需要这些接口。
You will need these interfaces when you create the rules and call services from the rules.
CEP引擎管理事件的逻辑处理,以识别模式和基于定义的规则调用操作。
CEP engines manage the logical processing of events in order to recognize patterns and invoke actions based on defined rules.
还有两个规则调用您在前面创建的InternationalRateRG规则组组件。
Two rules invoke the InternationalRateRG rule group component that you created earlier.
在这里可以看到规则调用的审计跟踪,这提供触发的规则和执行的规则流等有用的信息。
You can view the audit trails of the rules invocation here, which provide useful information such as the rules fired as well as the flow of rules executed.
此规则调用InternationalRateRGRef所连接到的服务,并使用rate1作为输入。
This rule invokes the service to which the InternationalRateRGRef reference is wired, with rate1 as the input.
前面的讨论中给出了两个基本规则调用样式(同步请求-响应样式和异步事件处理样式)并对无状态处理和有状态处理进行了区分。
The previous discussion Outlines two basic rules invocation styles (synchronous request-response style and asynchronous event-handling style) and distinguishes stateless versus stateful processing.
遵循调用另一个规则的这个规则,然后你就得到了像“弗雷德觉得巴尼喜欢威尔玛”这样的句子。
You have one rule invoking another rule and then you can get a sentence like "Fred thinks Barney likes Wilma".
出现错误的一个常见原因是,在调用规则引擎之前忘了将应用程序对象放到会话中。
A frequent source of errors is forgetting to put an application object on the session before calling the rules engine.
还要注意,这些变量在被调用的规则中可用。
Also note that these variables are available in the called rule.
一个可以依据用户模型在适当情况下调用规则的规则引擎就可以实现这样的条件适应。
A conditional adaptation can be provided by a rule engine invoking rules at appropriate situations, based on a user model.
清单4给出了一个准备编校规则和调用该方法的示例。
Listing 4 shows an example of how to prepare the redaction rules and call the method.
规则还可能通过调用其他服务进行一些操作或其他工作。
The rules may also cause some actions or other side effects by invoking other services.
编程模型简单——不需要使用特殊API调用规则。
Programming model simplicity — no special API just for calling rules.
但这些规则无法调用服务z,因为相应的业务规则组没有引用该服务。
The rules cannot invoke service Z because that service is not referenced by the business rule group.
在您详细察看转换之前,我们先要修正规则类,使其能够调用刚刚产生的类。
Before you look in detail at the transform, amend the rule class to invoke this generated class.
就像您有时想对继承方法中的超类方法进行调用一样,您有时还想在分派器内对不太特定的规则进行调用。
Just as you sometimes want to call on superclass methods in an inherited method, you also sometimes want to call on less specific rules within a dispatcher.
业务流程可以通过多种绑定作为决策服务节点调用规则集。
The business process can invoke the rule set as its decision service node via various bindings.
这些操作可以计算规则结果、赋值或调用其他服务。
These actions may compute rule results, assign values, or invoke other services.
网络延迟:对规则服务的远程调用伴随而来的是网络延迟问题。
Network latency: With remote invocation of the rule services comes the issue of network latency.
程序员可以将业务规则作为服务来调用。
功能强大:规则可以调用任何代码,可以识别任何文本模式。
Power: rules can invoke any code and can recognize any text pattern.
通常,调用规则的代码需要确保会话中存在对应于预期键的对象。
It is generally up to the code calling the rule to make sure that the object exists on the session at the expected key.
总体来说,我要建立一个执行验证规则的客户调用处理程序。
Conceptually, I'll create a custom invocation handler class that performs the validation rules.
图21显示使用JMS调用规则集的模型。
Figure 21 shows the model for invoking the rule set using JMS.
而当创造复合服务时,封装参与其中的服务以及强制对它们的调用规则,都能显著简化使用上的复杂性。
Creation of composite service, both encapsulating participating services and enforcing the rules of their invocation can significantly simplify their usage.
由于可以像其他服务类型一样调用规则,因此容器功能可以应用到规则。
Invoking rules just like any other service type makes container features applicable to rules.
调用规则集之后,可以使用CBE浏览器检查事件(图25)。
After the rule set is invoked, you can use the CBE browser to check the events (Figure 25).
图14显示使用SCAPOJO组件调用规则集的模型。
Figure 14 shows the model of the rule set invocation using SCA POJO component.
使用POJO会话调用规则服务。
虽然业务规则与调用它们的业务活动之间存在这样的关系,但是这些规则实际上是通过业务服务调用的。
Despite this relationship between business rules and the business activities that invoke them, the actual invocation of these rules is through business services.
应用推荐