I replaced my 5.0.4 jars with 5.0.5 and the following code doesn't compile
anymore
        @Inject
        @SpringBean("userManager")

Has this changed from 5.0.4 ?


Howard Lewis Ship wrote:
> 
> Sorry, yes.  That's a change in 5.0.4, you must have been using 5.0.3.
> 
> Injection got a LOT smarter, and a bit different, between 5.0.3 and 5.0.4.
> Lots of influence from Guice; basically, for service injections, we make
> injecting by type the standard, and injecting by name a rarely used
> option.
> Further, there's a lot more infrastructure to allow other combinations,
> such
> as injecting based on combinations of field type and other annotatoins
> (here
> Asset for the type, @Path as the annotation).
> 
> On 5/16/07, Bill Holloway <[EMAIL PROTECTED]> wrote:
>>
>> gurg!  All my @Injects("...") just broke!  Guess I need to use @Path with
>> it?
>>
>> On 5/16/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>> > I've  been making a number of important T5 bug fixes; I've just
>> uploaded
>> the
>> > latest snapshots to
>> http://people.apache.org/~hlship/tapestry-repository/
>> >
>> > Feedback is always welcome!
>> >
>> > --
>> > Howard M. Lewis Ship
>> > TWD Consulting, Inc.
>> > Independent J2EE / Open-Source Java Consultant
>> > Creator and PMC Chair, Apache Tapestry
>> > Creator, Apache HiveMind
>> >
>> > Professional Tapestry training, mentoring, support
>> > and project work.  http://howardlewisship.com
>> >
>>
>>
>> --
>> "The future is here.  It's just not evenly distributed yet."
>>
>>      -- Traditional
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
> 
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/5.0.5-SNAPSHOTS-tf3767704.html#a10657564
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to