| Class | Ruote::ParticipantList |
| In: |
lib/ruote/part/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).
| instantiated_participants | [R] |
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
Returns nil if there is no participant registered that covers the given participant name.
Registers a participant. Called by Engine#register_participant.
Shuts down the ‘instantiated participants’ (engine worker participants) if they respond to shutdown.
Removes a participant, given via its name or directly from this participant list.
Called usually by Engine#unregister_participant.
Returns an array of all the classes in the ObjectSpace that include the Ruote::LocalParticipant module.