avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hawkes" <jhaw...@adsnm.com>
Subject Re: Java 1.5, fun with lookups and generics
Date Wed, 28 Jan 2004 19:45:44 GMT
You can skip it.

----- Original Message ----- 
From: "Niclas Hedhman" <niclas@hedhman.org>
To: "Avalon Developers List" <dev@avalon.apache.org>
Sent: Wednesday, January 28, 2004 12:37 PM
Subject: Re: Java 1.5, fun with lookups and generics


> On Wednesday 28 January 2004 11:38, Jonathan Hawkes wrote:
> > >     MyComponent comp = sm.lookup (MyComponent.class, "MyComponent");
> >
> > I like that.
>
> Didn't Leo forgot the Template??
>
> MyComponent comp = sm.<MyComponent>lookup (MyComponent.class,
"MyComponent");
>
> Or would it really be possible to skip?
>
> Niclas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message