[prev in list] [next in list] [prev in thread] [next in thread] 

List:       myfaces-user
Subject:    Re: Injection into filters with Tomcat
From:       Laurent Cottereau <laurent () cottereau ! name>
Date:       2012-11-26 11:48:13
Message-ID: CADkG9DuKQHtucBrh2XiwDAyBhB4H-XPToN06njwkm4nnX0=pkA () mail ! gmail ! com
[Download RAW message or body]


Thank you very much for your answer.


--
  Laurent Cottereau
  laurent@cottereau.name
  http://laurent.cottereau.name


2012/11/26 Gerhard Petracek <gerhard.petracek@gmail.com>

> 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
> >
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic