Re: Parameterized service injection

2016-12-19 Thread Andrus Adamchik
some point as mentioned by Lance. >> >> Thanks, >> Andrus >> >> >> >> >>> On Dec 14, 2016, at 11:06 PM, Thiago H. de Paula Figueiredo < >> thiag...@gmail.com> wrote: >>> >>> Hi! >>> >>> On Tue, D

Re: Parameterized service injection

2016-12-19 Thread Thiago H. de Paula Figueiredo
; > Will need to explore service IDs at some point as mentioned by Lance. > > Thanks, > Andrus > > > > > > On Dec 14, 2016, at 11:06 PM, Thiago H. de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > > Hi! > > > > On Tue, Dec 13, 2016 a

Re: Parameterized service injection

2016-12-15 Thread Andrus Adamchik
lt;thiag...@gmail.com> wrote: > > Hi! > > On Tue, Dec 13, 2016 at 5:31 AM, Andrus Adamchik <and...@objectstyle.com> > wrote: > >> From what I gather Tapestry 5.4 still does not support parameterized >> service injection? > > > It does not. I haven't fo

Re: Parameterized service injection

2016-12-15 Thread Andrus Adamchik
has a unique id. > > @InjectService("s1") > private MyService s1; > > @InjectService("s2") > private MyService s2; > > > > On 13 Dec 2016 7:31 a.m., "Andrus Adamchik" <and...@objectstyle.com> wrote: > >> From what I gather Tap

Re: Parameterized service injection

2016-12-15 Thread Lance Java
m what I gather Tapestry 5.4 still does not support parameterized > service injection? E.g. in the following example both s1 and s2 will map to > the same DI key of the bare class: > > @Inject > private MyService s1; > > @Inject > private MyService s2; > > I am runnin

Re: Parameterized service injection

2016-12-14 Thread Thiago H. de Paula Figueiredo
Hi! On Tue, Dec 13, 2016 at 5:31 AM, Andrus Adamchik <and...@objectstyle.com> wrote: > From what I gather Tapestry 5.4 still does not support parameterized > service injection? It does not. I haven't found yet a situation in which I wanted something like that. I've see peo

Parameterized service injection

2016-12-12 Thread Andrus Adamchik
From what I gather Tapestry 5.4 still does not support parameterized service injection? E.g. in the following example both s1 and s2 will map to the same DI key of the bare class: @Inject private MyService s1; @Inject private MyService s2; I am running Tapestry on a Bootique.io stack