Repository navigation
Replies: 2 comments 4 replies
No problem, you are in the right place :)
No, CDI doesn't specify this. I think this was added into SE after EE model where in some cases it was important for an integrator to initialize an extension into certain state before handing it over to CDI. That said, it wasn't considered what should happen if you have both (and I guess each server deals with it differently). We could try and define some rules but that's assuming we can do some detection which may or may not work. You can do some |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, it's me again. I guess I'm the only one using the discussions area for some reason. Tell me if I should go somewhere else.
When a portable extension class is discoverable, and an instance of that class is passed to CDI SE's
addExtensions(Extension...), which instance must receive lifecycle events?I'm guessing the answer in CDI is "undefined" (as usual). But maybe it's a Weld thing, so I thought I'd ask here first.
All reactions