worker = new TransactionalWorker();
}
else {
worker = instantiateExplicitlyConfiguredWorker( buildContext, workerImplClassName );
}
worker.initialize( properties, buildContext, queueingProcessor );
return worker;
}
private static Worker instantiateExplicitlyConfiguredWorker(WorkerBuildContext buildContext, String workerImplClassName) {
ServiceManager serviceManager = buildContext.getServiceManager();