public DatabaseExecutionHistoryStore(string dataSource, string delegateTypeName, string tablePrefix, string provider) { _dataSource = dataSource; _provider = provider; _delegateTypeName = delegateTypeName; _tablePrefix = tablePrefix ?? AdoConstants.DefaultTablePrefix; TypeLoadHelper = new SimpleTypeLoadHelper(); TypeLoadHelper.Initialize(); }
/// <summary> /// Called during creation of the <see cref="IScheduler"/> in order to give /// the <see cref="ISchedulerPlugin"/> a chance to initialize. /// </summary> /// <param name="pluginName">The name.</param> /// <param name="sched">The scheduler.</param> /// <throws>SchedulerConfigException </throws> public virtual void Initialize(string pluginName, IScheduler sched) { name = pluginName; scheduler = sched; typeLoadHelper = new SimpleTypeLoadHelper(); typeLoadHelper.Initialize(); // Create JobFile objects var tokens = fileNames.Split(FileNameDelimiter).Select(x => x.TrimStart()); foreach (string token in tokens) { JobFile jobFile = new JobFile(this, token); jobFiles.Add(new KeyValuePair <string, JobFile>(jobFile.FilePath, jobFile)); } }
/// <summary> /// Called during creation of the <see cref="IScheduler"/> in order to give /// the <see cref="ISchedulerPlugin"/> a chance to initialize. /// </summary> /// <param name="pluginName">The name.</param> /// <param name="sched">The scheduler.</param> /// <throws>SchedulerConfigException </throws> public virtual void Initialize(string pluginName, IScheduler sched) { name = pluginName; scheduler = sched; classLoadHelper = new CascadingClassLoadHelper(); classLoadHelper.Initialize(); Log.Info("Registering Quartz Job Initialization Plug-in."); // Create JobFile objects string[] tokens = fileNames.Split(FileNameDelimiter); foreach (string token in tokens) { JobFile jobFile = new JobFile(this, token); jobFiles.Add(jobFile.FilePath, jobFile); } }
/// <summary> /// Called during creation of the <see cref="IScheduler"/> in order to give /// the <see cref="ISchedulerPlugin"/> a chance to initialize. /// </summary> /// <param name="pluginName">The name.</param> /// <param name="scheduler">The scheduler.</param> /// <throws>SchedulerConfigException </throws> public virtual async Task Initialize(string pluginName, IScheduler scheduler) { Name = pluginName; Scheduler = scheduler; typeLoadHelper = new SimpleTypeLoadHelper(); typeLoadHelper.Initialize(); Log.Info("Registering Quartz Job Initialization Plug-in."); // Create JobFile objects var tokens = FileNames.Split(FileNameDelimiter).Select(x => x.TrimStart()); foreach (string token in tokens) { JobFile jobFile = new JobFile(this, token); await jobFile.Initialize(); jobFiles.Add(new KeyValuePair <string, JobFile>(jobFile.FilePath, jobFile)); } }
/// <summary> /// Called during creation of the <see cref="IScheduler"/> in order to give /// the <see cref="ISchedulerPlugin"/> a chance to initialize. /// </summary> /// <param name="pluginName">The name.</param> /// <param name="sched">The scheduler.</param> /// <throws>SchedulerConfigException </throws> public virtual void Initialize(string pluginName, IScheduler sched) { name = pluginName; scheduler = sched; typeLoadHelper = new SimpleTypeLoadHelper(); typeLoadHelper.Initialize(); Log.Info("Registering Quartz Job Initialization Plug-in."); // Create JobFile objects var tokens = fileNames.Split(FileNameDelimiter).Select(x => x.TrimStart()); foreach (string token in tokens) { JobFile jobFile = new JobFile(this, token); jobFiles.Add(new KeyValuePair<string, JobFile>(jobFile.FilePath, jobFile)); } }
/// <summary> /// Called during creation of the <see cref="IScheduler"/> in order to give /// the <see cref="ISchedulerPlugin"/> a chance to initialize. /// </summary> /// <param name="pluginName">The name.</param> /// <param name="sched">The scheduler.</param> /// <throws>SchedulerConfigException </throws> public virtual void Initialize(string pluginName, IScheduler sched) { name = pluginName; scheduler = sched; classLoadHelper = new CascadingClassLoadHelper(); classLoadHelper.Initialize(); Log.Info("Registering Scheduler Job Initialization Plug-in."); // Create JobFile objects string[] tokens = fileNames.Split(FileNameDelimiter); foreach (string token in tokens) { JobFile jobFile = new JobFile(this, token); jobFiles.Add(jobFile.FilePath, jobFile); } }