public void Initialize(IConfigSource config, IRegistryCore registry) { IConfig handlerConfig = config.Configs["Handlers"]; if (handlerConfig.GetString("AssetHandler", "") != Name) { return; } m_localService = new AssetService(); m_localService.Configure(config, registry); m_remoteService = new AssetServicesConnector(); m_remoteService.Initialize(config, registry); registry.RegisterModuleInterface <IAssetService>(this); }