FiringStrategy method

The FiringStrategy takes the rules that were found by the FindingStrategy, (possibly modified by the FilteringStrategy), fires them each in order, and returns an array containing the results of each rule.

A single default FiringStrategy is provided by Business Rule Beans (BRBeans) as all of the rules are fired in the same way. This implementation takes each rule in order and performs the following steps:

  1. Determines what firing parameters to pass to the rule. If there are no firing parameters specified for this rule, the implementation uses the firing parameters passed on the TriggerPoint call. Otherwise, it uses the firing parameters specified in the rule in place of the parameters passed on the TriggerPoint call.
  2. Calls the fire method on the rule and passes the firing parameters from the first step.

Unexpected exceptions result in a BusinessRuleBeansException being thrown that contains the original exception.


Related concepts
Predefined strategy objects
FilteringStrategy method



Searchable topic ID:   cbrb_strat3
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/brb/concepts/cbrb_strat3.html

Library | Support | Terms of Use | Feedback