tfw.tsm.InitiatorAnalysis.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tfw Show documentation
Show all versions of tfw Show documentation
The FrameWork for building highly scalable and maintainable applications
The newest version!
Initiator Analysis
Initiator Analysis
Initiators are used to change state in a new transaction.
- Leaf components can not create initiators because they can not add
them to the component structure.
- If a leaf component needs an initiator, it is passed in through the
constructor. This approach causes a problem. The event channel
description associated with the initiator is unknown to the leaf
component.
- We need to add initiator event channel descriptions to the
constructors of leaf components.
- Add an initiate(EventChannelDescription) method to leaf components.