hi laurent,

first of all: welcome @ myfaces!

that isn't supported out-of-the-box (for filters).
if you would like to do it on your own, you can have a look at the
implementation of CodiUtils#tryToInjectFields .

regards,
gerhard

http://www.irian.at

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

Professional Support for Apache MyFaces



2012/11/26 Laurent Cottereau <laur...@cottereau.name>

> Hello,
>
> I have been trying without success to inject an EntityManager into a Filter
> on Tomcat 6. Is that supposed to be possible with CODI ? If so, is there
> anything special I should look into ? Is @Advanced the correct annotation I
> should use on the filter ?
>
> Thank you in advance for any help you will be able to provide me,
>
> --
>   Laurent Cottereau
>   laur...@cottereau.name
>   http://laurent.cottereau.name
>

Reply via email to