This content has been marked as final.
Show 1 reply
-
1. Re: Declarative style of DI with WELD?
mkouba Aug 5, 2013 10:45 AM (in response to venkat_nanda)1. It's not possible in vanilla Weld. There was a CDI extension (formerly Seam 3 Config, afterwards part of the Solder project) which supported XML configuration. But the project has been halted and AFAIK there's no replacement in DeltaSpike yet (the project Solder has been migrated over to).
2. You can use qualifiers to distinguish multiple beans with the same bean type - see also http://docs.jboss.org/cdi/spec/1.1/cdi-spec.html#qualifiers.