After playing with it for a few days, I'm fine with the behavior. It's not really specified, and I think there needs to be some way of specifying the resource factory, but generally not an issue. The way I worked around it makes it a bit more testable.
However, the NPE needs to get fixed and provide more information. I shouldn't need a debugger to figure out what classes weld doesn't like. If you want to treat this ticket as "fix the NPE" I'm fine with that.
|