Rules are invoked by events. The event causes the rule to be evaluated and results in
a rule action being performed, either immediately or at some later time.
The Rules Manager follows the event-condition action structure and helps users to
define five elements required for a Rules Manager application:
??? Define an event structure, which is an object in your Oracle database. Different
events have different values for the attributes of the event object.
??? Create rules, which include conditions and their subsequent actions.
??? Create rule classes to store and group rules with similar structures.
??? Create PL/SQL procedures to implement rules.
??? Define a results view to configure the rules for external use when the PL/SQL
actions cannot be called, such as an application that runs on multiple tiers and
has rule actions that are invoked from the application server tier.
You can define conflict resolution routines to handle situations where more than one
rule is matched by an event. The Rules Manager also can aggregate different events
into composite events and maintain state information until all events are received.
Pages:
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238