public IntegrationInitializationHostService(IIntegrationProvider integrationProvider,
                                             IntegrationRegistrar integrationRegistrar,
                                             IntegrationHostManager integrationManager)
 {
     this.IntegrationProvider    = integrationProvider;
     this.IntegrationRegistrar   = integrationRegistrar;
     this.IntegrationHostManager = integrationManager;
 }
        public IntegrationHostManager(ProxyRouteCollection proxyRouteCollection,
                                      IntegrationRegistrar integrationRegistrar,
                                      IIntegrationHostFactory integrationHostFactory,
                                      ILogger <IntegrationHostManager> logger)
        {
            this.ProxyRouteCollection   = proxyRouteCollection;
            this.IntegrationRegistrar   = integrationRegistrar;
            this.IntegrationHostFactory = integrationHostFactory;
            this.Logger = logger;

            // Listen for the Deregister and file modified events from the registrar.
            // This allows us to clean up or restart the integrations when required.
            this.IntegrationRegistrar.OnIntegrationDeregistered  += this.IntegrationRegistrar_OnIntegrationDeregistered;
            this.IntegrationRegistrar.OnIntegrationFilesModified += this.IntegrationRegistrar_OnIntegrationFilesModified;
        }
Esempio n. 3
0
 public IndexModel(IntegrationRegistrar integrationRegistrar,
                   IntegrationHostManager integrationHostManager)
 {
     this.IntegrationRegistrar   = integrationRegistrar;
     this.IntegrationHostManager = integrationHostManager;
 }