Class: Synapse::ProcessManager::WiringProcessManager
- Inherits:
-
ProcessManager
- Object
- ProcessManager
- Synapse::ProcessManager::WiringProcessManager
- Defined in:
- lib/synapse/process_manager/wiring/process_manager.rb
Overview
Process manager that is aware of processes that use the wiring DSL
Instance Attribute Summary
Attributes inherited from ProcessManager
Instance Method Summary collapse
Methods inherited from ProcessManager
Methods included from EventBus::EventListener
Constructor Details
#initialize(repository, factory, lock_manager, *process_types) ⇒ undefined
12 13 14 15 16 17 18 19 20 |
# File 'lib/synapse/process_manager/wiring/process_manager.rb', line 12 def initialize(repository, factory, lock_manager, *process_types) super @process_types.each do |process_type| unless process_type.respond_to? :wire_registry raise ArgumentError, 'Incompatible process type %s' % process_type end end end |