Re: Injecting in Interceptors (Struts2ejb3)

2009-01-21 Thread Andras Balogh
Envoyé : mardi 20 janvier 2009 22:10 À : Struts Users Mailing List Objet : Re: Injecting in Interceptors 2009/1/20 Ignacio de Córdoba : Anybody has an idea on how can I get info about ServletContext in the init() method of an interceptor? I'd like to lookup EJBs there and not lookup th

RE: Injecting in Interceptors (Struts2ejb3)

2009-01-21 Thread Fernandes Celinio SGCF
z.len...@googlemail.com] Envoyé : mardi 20 janvier 2009 22:10 À : Struts Users Mailing List Objet : Re: Injecting in Interceptors 2009/1/20 Ignacio de Córdoba : > Anybody has an idea on how can I get info about ServletContext in the init() > method of an interceptor? I'd like to lookup EJBs there and

Re: Injecting in Interceptors

2009-01-20 Thread Ignacio de Córdoba
p/struts2ejb3/ > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >

Re: Injecting in Interceptors

2009-01-20 Thread Lukasz Lenart
2009/1/20 Ignacio de Córdoba : > Anybody has an idea on how can I get info about ServletContext in the init() > method of an interceptor? I'd like to lookup EJBs there and not lookup them > for every request (I know I can get the info I need from ActionInvocation > object that every intercept() get

Re: Injecting in Interceptors

2009-01-20 Thread Ignacio de Córdoba
- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Injecting-in-Interceptors-tp21570523p21571306.html Sent from the Struts

Re: Injecting in Interceptors

2009-01-20 Thread Dave Newton
Ignacio de Córdoba wrote: Hi Musachy and thanks for your reply but that static invocation in that class is not working if called from an interceptor or, at least, from the init() method of the interceptor. You don't need to get JNDI resources on every request--use the lazy initialization "patt

Re: Injecting in Interceptors

2009-01-20 Thread Musachy Barroso
EJBs there and not lookup >>> them >>> for every request (I know I can get the info I need from ActionInvocation >>> object that every intercept() gets) >>> >>> I'm using Struts 2.1 >>> >>> Thanks for any ideas, >>> Ignac

Re: Injecting in Interceptors

2009-01-20 Thread Ignacio de Córdoba
Bs there and not lookup >> them >> for every request (I know I can get the info I need from ActionInvocation >> object that every intercept() gets) >> >> I'm using Struts 2.1 >> >> Thanks for any ideas, >> Ignacio >

Re: Injecting in Interceptors

2009-01-20 Thread Musachy Barroso
x27;m using Struts 2.1 > > Thanks for any ideas, > Ignacio > -- > View this message in context: > http://www.nabble.com/Injecting-in-Interceptors-tp21570523p21570523.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > -

Injecting in Interceptors

2009-01-20 Thread Ignacio de Córdoba
nfo I need from ActionInvocation object that every intercept() gets) I'm using Struts 2.1 Thanks for any ideas, Ignacio -- View this message in context: http://www.nabble.com/Injecting-in-Interceptors-tp21570523p21570523.html Sent from the Struts - User mailing list archive at