Difference between revisions of "Behavioral Contract Wrapper (new wrapper mechanism)"
Rene spronk (talk | contribs) |
Rene spronk (talk | contribs) |
||
Line 3: | Line 3: | ||
[[Image:New wrapper struc.jpg|200px|right|thumb|Wrapper structure]] | [[Image:New wrapper struc.jpg|200px|right|thumb|Wrapper structure]] | ||
− | The '''Behavioral Contract Wrapper''' is a [[Wrapper]] that contains information about a [[Trigger Event|event]] that has happened, as well as the expected behavior of the receiver because of the fact that the event has happened. It contains metadata needed to support the [[Dynamic Model]], either in the form of [[Receiver Responsibilities]] or the new [[CPM]]. | + | The '''Behavioral Contract Wrapper''' is a [[Wrapper]] that contains information about a [[Trigger Event|event]] that has happened, as well as the expected behavior of the receiver because of the fact that the event has happened. It contains metadata needed to support the [[Dynamic Model]], either in the form of [[Receiver Responsibilities]] or the new [[CPM]]. It's important to separate the class representing the "Event" from the class representing "the behavior I expect you to execute because this event has happened". |
The [[Behavioral Contract Wrapper (new wrapper mechanism)|Behavioral Contract Wrapper]] contains a BehavioralContract act which has a 1..1 relationship with a ControlAct in [[EVN Mood|Event mood]]. As such the Behavioral Contract Wrapper contains the identification of the [[Trigger Event]]. | The [[Behavioral Contract Wrapper (new wrapper mechanism)|Behavioral Contract Wrapper]] contains a BehavioralContract act which has a 1..1 relationship with a ControlAct in [[EVN Mood|Event mood]]. As such the Behavioral Contract Wrapper contains the identification of the [[Trigger Event]]. | ||
The BehavioralContract Act has a recursive Act Relationship to allow for nesting. This can be used (amongst other things) to support a transactional grouping (a.k.a. transactional batching) mechanism. | The BehavioralContract Act has a recursive Act Relationship to allow for nesting. This can be used (amongst other things) to support a transactional grouping (a.k.a. transactional batching) mechanism. |
Revision as of 17:24, 29 October 2006
The Behavioral Contract Wrapper is a Wrapper that contains information about a event that has happened, as well as the expected behavior of the receiver because of the fact that the event has happened. It contains metadata needed to support the Dynamic Model, either in the form of Receiver Responsibilities or the new CPM. It's important to separate the class representing the "Event" from the class representing "the behavior I expect you to execute because this event has happened".
The Behavioral Contract Wrapper contains a BehavioralContract act which has a 1..1 relationship with a ControlAct in Event mood. As such the Behavioral Contract Wrapper contains the identification of the Trigger Event.
The BehavioralContract Act has a recursive Act Relationship to allow for nesting. This can be used (amongst other things) to support a transactional grouping (a.k.a. transactional batching) mechanism.