Class | Ruote::ParticipantList |
In: |
lib/ruote/svc/participant_list.rb
|
Parent: | Object |
Tracking participants to [business] processes.
The methods here are mostly called via the engine (registering / unregistering participants) and via the dispatch_pool (when handing workitems to participants).
Used by Engine#participant_list
Returns a representation of this participant list as an array of ParticipantEntry instances.
Used by Engine#participant_list=
Takes as input an array of ParticipantEntry instances and updates this participant list with it.
Returns a participant instance, or nil if there is no participant for the given participant name.
Mostly a combination of lookup_info and instantiate.
Given a participant name, returns participant details.
Returns nil if there is no participant registered that covers the given participant name.
Used by register and by Ruote::ParticipantRegistrationProxy
Removes a participant, given via its name or directly from this participant list.
Called usually by Engine#unregister_participant.