tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiago H. de Paula Figueiredo" <thiag...@gmail.com>
Subject Re: Injecting session-scoped Spring beans
Date Fri, 18 Nov 2011 17:48:15 GMT
On Fri, 18 Nov 2011 14:57:21 -0200, Michael Prescott  
<michael.r.prescott@gmail.com> wrote:

> I have a number of managed-by-Spring command objects that need to be
> injected with the same (or an equivalent) state holder, otherwise yes,  
> I'd do exactly that.  And by avoid, I'm not avoiding it like the plague,  
> I just liked the brevity of @Inject MyBean and it seemed within reach.

Yeah, that makes sense. Have you tried @InjectService("beanName")?

Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.

To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org

View raw message