예제 #1
0
 public ScraperScheduler(ScraperJobRepository jobRespository, ConnectionFactory connectionFactory, ScrprConfiguration configuration)
 {
     this.configuration     = configuration;
     this.connectionFactory = connectionFactory;
     this.jobRespository    = jobRespository;
 }
예제 #2
0
 public ScraperJobProcessor(ScraperJobRepository jobRespository, ScraperService scraperService, ScraperResultRespository resultRespository)
 {
     this.resultRespository = resultRespository;
     this.scraperService    = scraperService;
     this.jobRespository    = jobRespository;
 }