public IJob NewJob(TriggerFiredBundle bundle, IScheduler scheduler)
 {
     try
     {
         IOptionsPlayJob syrahJob = (IOptionsPlayJob)ObjectFactory.GetInstance(bundle.JobDetail.JobType);
         QuartzCommonJob result   = new QuartzCommonJob(syrahJob);
         return(result);
     }
     catch (Exception e)
     {
         SchedulerException se = new SchedulerException("Problem instantiating class", e);
         throw se;
     }
 }
Ejemplo n.º 2
0
 public QuartzCommonJob(IOptionsPlayJob syrahJob)
 {
     _syrahJob = syrahJob;
 }