]
Cheng Fang moved JBERET-496 to WFLY-13809:
------------------------------------------
Project: WildFly (was: JBeret)
Key: WFLY-13809 (was: JBERET-496)
Component/s: Batch
(was: jberet-core)
Affects Version/s: 20.0.1.Final
(was: 1.4.0.Alpha1)
Fix Version/s: (was: 1.4.0.Final)
Get application name from BatchEnvironment instead of jndi lookup
-----------------------------------------------------------------
Key: WFLY-13809
URL:
https://issues.redhat.com/browse/WFLY-13809
Project: WildFly
Issue Type: Enhancement
Components: Batch
Affects Versions: 20.0.1.Final
Reporter: Cheng Fang
Assignee: Cheng Fang
Priority: Major
AbstractJobOperator currently gets application name via jndi lookup. It is an expensive
operation for this task. Also in non-EE environment, lookup of application name will
always return null. So it is better to retrieve application name from
{{BatchEnvironment}}, and different impl of {{BatchEnvironment}} can provide application
name differently.