public virtual void Application_Start() { if (IntegrationHelper.IsSolrConfigured()) { IntegrationHelper.ReportDoubleSolrConfigurationAttempt(this.GetType()); return; } this.Container = new WindsorContainer(); var startup = new WindsorSolrStartUp(this.Container); startup.Initialize(); }
/// <summary> /// Performs Solr provider initialization. /// </summary> /// <param name="args">The arguments.</param> public void Process(PipelineArgs args) { if (!SolrContentSearchManager.IsEnabled) { return; } if (IntegrationHelper.IsSolrConfigured()) { IntegrationHelper.ReportDoubleSolrConfigurationAttempt(this.GetType()); return; } this.Container = new WindsorContainer(); var startup = new WindsorSolrStartUp(this.Container); startup.Initialize(); }