使用POJO会话调用规则服务。
图21显示使用JMS调用规则集的模型。
Figure 21 shows the model for invoking the rule set using JMS.
编程模型简单——不需要使用特殊API调用规则。
Programming model simplicity — no special API just for calling rules.
业务规则组接受此类传入消息并调用规则集。
The business rule group receives each incoming message and invokes a rule set.
业务流程可以通过多种绑定作为决策服务节点调用规则集。
The business process can invoke the rule set as its decision service node via various bindings.
图14显示使用SCAPOJO组件调用规则集的模型。
Figure 14 shows the model of the rule set invocation using SCA POJO component.
流程编排引擎可以像调用其他服务一样调用规则。
Process choreography engines can invoke rules just like other services.
不过,这名比赛者没有调用规则并采取任何行动。
However, the competitor does not take any action to invoke the Rule.
调用规则集之后,可以使用CBE浏览器检查事件(图25)。
After the rule set is invoked, you can use the CBE browser to check the events (Figure 25).
通常,调用规则的代码需要确保会话中存在对应于预期键的对象。
It is generally up to the code calling the rule to make sure that the object exists on the session at the expected key.
由于可以像其他服务类型一样调用规则,因此容器功能可以应用到规则。
Invoking rules just like any other service type makes container features applicable to rules.
出现错误的一个常见原因是,在调用规则引擎之前忘了将应用程序对象放到会话中。
A frequent source of errors is forgetting to put an application object on the session before calling the rules engine.
一个可以依据用户模型在适当情况下调用规则的规则引擎就可以实现这样的条件适应。
A conditional adaptation can be provided by a rule engine invoking rules at appropriate situations, based on a user model.
委员会的成员可以介入并要求比赛者调用规则保护自己和其他参赛球员吗?
Would a Committee member be justified in intervening and requesting the competitor to invoke the Rule to protect himself and the rest of the field?
基于规则引擎的系统典型的方法就是使用一个代理类通过委托调用规则引擎。
Typically a rule engine based system will use a proxy class that delegates a call to a rule engine.
对于服务客户机的开发人员,这意味着可以像其他服务一样调用规则,而没有特殊的API注意事项。
For developers of service clients, this means that rules are invoked just like other services, without special API considerations.
而当创造复合服务时,封装参与其中的服务以及强制对它们的调用规则,都能显著简化使用上的复杂性。
Creation of composite service, both encapsulating participating services and enforcing the rules of their invocation can significantly simplify their usage.
每个应用程序的设计者指定传递给规则的输入值,以及任何希望规则提供的结果,不需要使用特殊API来调用规则。
The designer of each application specifies the inputs passed to rules and any result expected from the rules; there is no special API used to invoke rules.
要想使用Web服务调用规则集,首先需要从RuleExecutionServer控制台导出目标规则应用程序的WSDL(图20)。
First, to invoke the rule set using a Web service, you need to export WSDL for the target rule application from the rule Execution Server console (Figure 20).
图16显示客户机应用程序使用规则会话(IlrStatelessRuleSession或IlrStatefulRuleSession)调用规则集。
Figure 16 shows that the client application invokes the rule service using a rule session (IlrStatelessRuleSession or IlrStatefulRuleSession).
然后,在IntegrationDeveloper中,把这个WSDL文件导入要调用规则服务的SCA模块,指定WSDL文件中定义的用于Web服务绑定导入的接口。
Then, in Integration Developer, import the WSDL file to the SCA module that will invoke the rule service and specify the interface defined in the WSDL file for the Web service binding import.
遵循调用另一个规则的这个规则,然后你就得到了像“弗雷德觉得巴尼喜欢威尔玛”这样的句子。
You have one rule invoking another rule and then you can get a sentence like "Fred thinks Barney likes Wilma".
还要注意,这些变量在被调用的规则中可用。
Also note that these variables are available in the called rule.
清单4给出了一个准备编校规则和调用该方法的示例。
Listing 4 shows an example of how to prepare the redaction rules and call the method.
但这些规则无法调用服务z,因为相应的业务规则组没有引用该服务。
The rules cannot invoke service Z because that service is not referenced by the business rule group.
当您创建规则并从那些规则调用服务时,将需要这些接口。
You will need these interfaces when you create the rules and call services from the rules.
这些操作可以计算规则结果、赋值或调用其他服务。
These actions may compute rule results, assign values, or invoke other services.
功能强大:规则可以调用任何代码,可以识别任何文本模式。
Power: rules can invoke any code and can recognize any text pattern.
CEP引擎管理事件的逻辑处理,以识别模式和基于定义的规则调用操作。
CEP engines manage the logical processing of events in order to recognize patterns and invoke actions based on defined rules.
组合服务对所使用的其他服务进行编排,控制用于确定调用顺序的规则。
A composite service orchestrates the other services that it USES controlling rules governing the invocation sequence.
应用推荐