This content has been marked as final.
Show 2 replies
-
1. Re: Alternatives configuration in multiple CDI jars
jharting Nov 18, 2013 2:45 AM (in response to palkonyves)1 of 1 people found this helpfulWith CDI 1.1 you can enable an alternative globally by giving it a @Priority - see http://docs.jboss.org/cdi/spec/1.1/cdi-spec.html#declaring_selected_alternatives
-
2. Re: Alternatives configuration in multiple CDI jars
palkonyves Nov 19, 2013 7:59 AM (in response to jharting)do you know how to achieve similar with CDI 1.0 ? The solution can be specific to weld.
By the way it's interesting to me, why this seems to be a struggle and not a key concept from the beginning. As if people who made the specs forgot about an application is made of many different JAR's.