Using javax.enterprise.inject.Instance, my application is able to inject objects at runtime. The qualifier annotations are defined properly (runtime retention, method/field/parameter/type targets, @Qualifier), with a single member string (value). The string value is binding (i.e. no @NonBinding annotation)
The annotated, @Dependent class is also properly annotated.
In Glassfish 3.0.1, this injection model works perfectly.
In Glassfish 3.1, CDI (WELD) raises an exception that it can't satisfy the dependency.
Clearly, all jars/WARs have "beans.xml" in the right place (else it wouldn't work with 3.0.1).
All other (static) injection appears to be working normally.
|Priority||Blocker [ 1 ]||Major [ 3 ]|
|Tags||3_1_1-next 3_1_1-scrubbed||3_1_1-next 3_1_1-scrubbed 3_1_2-review|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Tags||3_1_1-next 3_1_1-scrubbed 3_1_2-review||3_1_1-next 3_1_1-scrubbed|
|Tags||3_1_1-next 3_1_1-scrubbed||3_1_1-next 3_1_1-scrubbed 3_1_2-exclude|
|Fix Version/s||4.0 [ 10970 ]|
|Assignee||Sivakumar Thyagarajan [ sivakumart ]||jjsnyder83 [ jjsnyder83 ]|
|Assignee||jjsnyder83 [ jjsnyder83 ]||jwells [ jwells ]|
|Summary||WELD fails to locate @Dependent objects for injection via Instance<> - same code works perfectly in 1.0.1 (with Glassfish 3.0.1)||WELD A Class in a Normal (proxiable) scope that extends a class with final methods is NOT caught at deployment time|
|Status||In Progress [ 3 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|