myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: Injection into filters with Tomcat
Date Mon, 26 Nov 2012 11:14:23 GMT
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 <laurent@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
>   laurent@cottereau.name
>   http://laurent.cottereau.name
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message