It is the responsibility of the BatchJob to declare what class defines the ThreadWorkers that should perform the work. By returning a Class instance rather than ThreadWorker instances, the framework controls ThreadWorker instantiation which may occur on a different JVM than the one that the BatchJob instance resides.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Documentation build: 7.30.2019 15:44:44 [SDK_1564515884000]