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).

Methods

Attributes

instantiated_participants  [R] 

Public Class methods

Public Instance methods

Returns an instance of a participant

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.

See ParticipantList#list

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.

Return a list of names (regex) for the registered participants

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.

Protected Instance methods

Fetches and returns the participant list in the storage.

Returns an array of all the classes in the ObjectSpace that include the Ruote::LocalParticipant module.

[Validate]