Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES
Hook: Define a Transition
Requirement
A new transition must be defined as part of a process.
Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern
HotSpot
Processes
Hooks used
Define a Gate
,
Select a Transition that changes to a special process gate
,
Create a transition that just changes to a gate
Participants
Transition
, NewTransition , newTransition
Changes
choose: Transition needs to perform some action or just needs to go to some gate?
if transition needs to perform some action:
implement NewTransition of Transition.
NewTransition.perform implements
Transition.perform
.
NewTransition.perform performs some action making up the transition (e.g. calculate prices, change catalogs/stocks, etc.).
NewTransition.perform returns
Define a Gate
[newGate].
instance newTransition of NewTransition.
if transition just needs to go to some gate:
choose: Destination gate one of rollback-, commit-, stop-, quit- or log gate of the process the transition will belong to?
if so:
newTransition =
Select a Transition that changes to a special process gate
[transition].
if not so:
newTransition =
Create a transition that just changes to a gate
[newTransition].
Constraints
This hook is usually invoked in the context of
Define a new process
only.
Comments
Actions in transition must be short and should comprise activities that change the actual state of the application ('s data). Transitions are guaranteed not to be interrupted.
Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES