Details
-
Enhancement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
Description
In org.jboss.spec.javax.batch:jboss-batch-api_1.0_spec module, BatchRuntime class calls ServiceLoader.load() for every getJobOperator() call, which causes ServiceLoader to
- get TCCL
- clear providers list
- parse config file and load providers
These can be saved by caching the ServiceLoader instance in BatchRuntime, and the providers cached inside ServiceLoader can be reused.
Attachments
Issue Links
- links to