Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ReactorServiceBase"/> class.
        /// </summary>
        /// <param name="sparkFactoryWorkflow">The spark factory workflow.</param>
        /// <param name="configurationAggregator">The configuration aggregator.</param>
        protected StreamService(ISequentialWorkflow<SparkInstanceFactoryWorkflowContext> sparkFactoryWorkflow, IConfigurationAggregator configurationAggregator)
            : base(configurationAggregator)
        {
            if (sparkFactoryWorkflow == null) throw new ArgumentNullException("sparkFactoryWorkflow");

            _sparkFactoryWorkflow = sparkFactoryWorkflow;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ReactorServiceBase"/> class.
        /// </summary>
        /// <param name="configurationAggregator">The configuration aggregator.</param>
        protected ReactorServiceBase(IConfigurationAggregator configurationAggregator)
        {
            if (configurationAggregator == null) throw new ArgumentNullException("configurationAggregator");

            ConfigurationAggregator = configurationAggregator;
            Log = LogManager.GetLogger(GetType());
        }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReactorServiceBase"/> class.
 /// </summary>
 /// <param name="configurationAggregator">The configuration aggregator.</param>
 protected StreamService(IConfigurationAggregator configurationAggregator)
     : this(new SparkInstanceFactoryWorkflow(new PhysicalFileSystem()), configurationAggregator)
 {
 }
Exemple #4
0
 public ReactorCore(IConfigurationAggregator configurationAggregator)
     : base(configurationAggregator)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReactorServiceBase"/> class.
 /// </summary>
 public ScheduleStreamService(IConfigurationAggregator configurationAggregator)
     : base(configurationAggregator)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StreamServiceFactory"/> class.
 /// </summary>
 /// <param name="configurationAggregator">The configuration aggregator.</param>
 public StreamServiceFactory(IConfigurationAggregator configurationAggregator)
 {
     if (configurationAggregator == null) throw new ArgumentNullException("configurationAggregator");
     _configurationAggregator = configurationAggregator;
 }