strategy = new DbCachingJobServiceClassLoaderStrategy(service, jobId, dataSource);
} else {
strategy = new InternalCachingJobServiceClassLoaderStrategy(service, jobId);
}
ClassLoader loader = new StrategyClassLoader(strategy, ThreadServiceWorker.class.getClassLoader());
ref.worker = envelope.deserialize(loader);
if (logger.isInfoEnabled()) {
logger.info(String.format("Got worker (thread=%d)", Thread.currentThread().getId()));
}