![]() |
The TriggerPoint
class is the primary interface of the BRBeans
Trigger Point Framework, and is used to transfer control to the Trigger Point
Framework in order to find and fire those rules in the application's trigger
point.
Perform the following steps to place a trigger point in your code:
com.ibm.websphere.brb.TriggerPoint
class.
All rule triggers must be performed against an instance of this class. You
should also set any desired strategies on the TriggerPoint
instance.For the
simple trigger()
and triggerClassifier()
methods
this includes the following:
The triggerSituational
method differs in that it
takes two sets of firing parameters and two sets of rule identification information:
one set for the classifier rules and one for the classified rules.
trigger()
, triggerClassifier()
, or triggerSituational()
method
of the TriggerPoint instance. This will actually trigger the rule(s).Examples of how to code a trigger point call are shown in Types of Trigger Points - overview.
For a detailed description of the trigger point programming interfaces refer the Trigger Point Class in the BRBeans Javadoc
View PDF file... | |
To view a PDF file containing this article and related articles, click: | |
![]() | |