I do not see any added value of this approach (quite the contrary in fact). It only adds a layer of nasty class loader juggling which is not implied by any spec - CDI does not mention this at all and EE ubmrella spec you quoted seems unrelated to this. I also doubt that OWB does handle this in any TCCL-specific way; you are rather bumping into the impl differences of how Weld versus OWB handle EAR visibilities. Therefore this leaves us with deltaspike problems - post the DS code used there, or how DS uses/relies on TCCL and we can dig into why is that so (as it might be a DS problem, or perhaps a solution can be reached there). |