Bug 5752

Summary: Weld reinitializes for every bean lookup
Product: jbatch Reporter: justinwesley
Component: RIAssignee: ScottKurz
Status: NEW ---    
Severity: major CC: issues
Priority: P5    
Version: 1   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Whiteboard: RI_only

Description justinwesley 2014-01-29 17:16:46 UTC
class WeldSEBatchArtifactFactoryImpl will re-initialize Weld for every component lookup. This causes problems with the lookup of batch artifacts. Weld should only be initialized once throughout the JVM.

Example code can be found at https://github.com/justin-wesley/jbatch-bug