this.service = service;
if (dataSource != null) {
this.classCache = new DbCachingJobServiceClassLoaderStrategy(service, id, dataSource);
} else {
this.classCache = new InternalCachingJobServiceClassLoaderStrategy(service, id);
}
initTaskWorker(executor);
}