myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <>
Subject Re: How to deactivate myfaces CODI producer method (CDI)?
Date Fri, 04 Nov 2011 17:24:54 GMT

you can create a cdi extension, observe ProcessAnnotatedType and call
ProcessAnnotatedType#veto if the class (returned by
processAnnotatedType.getAnnotatedType().getJavaClass()) is


Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

2011/11/4 lindberg <>:
> I have two procuder methods to the FactesContext type. Myfaces has one
> producer method in FacesInformationProducer class and i have in another jar
> other producer to same type. This causes a "Ambiguous Dependency" exception.
> How can i solve this problem? Thanks!
> --
> View this message in context:
> Sent from the My Faces - Dev mailing list archive at

View raw message