This class is accessed via the singleton system service copland.Startup. It listens to the registry, and when it receives notification that the registry has been initialized, it will start all (enabled) services listed in the copland.Startup configuration point.

Methods
Attributes
[W] clients Setter for the clients collection
[W] registry Setter for the instantiating registry
Public Instance methods
start()

Invoked by Copland when the registry has been initialized. This allows the service to then instantiate each of its registered services in turn, in the order they were requested.

     # File lib/copland/impl/startup.rb, line 94
 94:       def start
 95:         list = []
 96:         @clients.each do |client|
 97:           enabled = client.fetch( 'enabled', true )
 98:           if enabled
 99:             service_name = client['service']
100:             before = [ *( client['before'] || [] ) ] 
101:             after = [ *( client['after'] || [] ) ]
102: 
103:             list << StartupClient.new(
104:               @registry.service_point( service_name ),
105:               before, after )
106:           end
107:         end
108: 
109:         list = Orderer.order( list )
110:         list.each { |client| client.point.instance }
111:       end