class Longleaf::ApplicationConfigManager
Manager which loads and provides access to the configuration of the application
Attributes
config_md5[R]
index_manager[R]
location_manager[R]
md_manager[R]
service_manager[R]
Public Class Methods
new(config, config_md5 = nil)
click to toggle source
# File lib/longleaf/services/application_config_manager.rb, line 21 def initialize(config, config_md5 = nil) @config_md5 = config_md5 @location_manager = Longleaf::StorageLocationManager.new(config) definition_manager = Longleaf::ServiceDefinitionManager.new(config) mapping_manager = Longleaf::ServiceMappingManager.new(config) @service_manager = Longleaf::ServiceManager.new( definition_manager: definition_manager, mapping_manager: mapping_manager, app_manager: self) sys_config = config[AppFields::SYSTEM] @index_manager = IndexManager.new(sys_config, self) @md_manager = MetadataPersistenceManager.new(@index_manager) end