[webbeans-dev] Resolve by name and Container interface

Pete Muir pete.muir at jboss.org
Mon Jul 7 03:07:54 EDT 2008


On 7 Jul 2008, at 04:00, Marcell Manfrin Barbacena wrote:

> Hi Pete,
>
> I downloaded again the early draft and it is as I said. Do I need to  
> be in the expert group to get these updates?

I can't publish the version I have. You need to contact Gavin for a  
copy.

> ps.: i looked at resin impl and their api is as described by early  
> draft.
>
> []s
>
> On Sun, Jul 6, 2008 at 3:43 PM, Pete Muir <pete.muir at jboss.org> wrote:
> I think you have an out of date spec. 4.2.1 gives the API currently  
> in svn.
>
>
> On 5 Jul 2008, at 05:59, Marcell Manfrin Barbacena wrote:
>
> hi,
>
> I was reading the spec and at section 3.2.1 it says the container  
> interface would have a
> "public Component resolveByName(String name)"
> method. However I looked at RI api and there we have a
> "public Set<ComponentInstance> resolveByName(String name)".
> I did understand the change in the Component class to not conflict  
> with the Component annotation but why is it returning a Set if the  
> spec says a exception should be throw when multiples component  
> instances are found?
>
> Ty
>
> -- 
> "Nobody knows who i really am
> I never felt this empty before
> And if I never need someone to come along
> Who's gonna comfort me and keep me strong?"
> --
> Marcell Manfrin Barbacena
> barbacena at gmail.com
> MSN Messenger: marcell84bruk at hotmail.com
> Skype: callto://marcell84bruk
> +55 (83) 8808-8555 (Oi)
> +55 (61) 8152-7533 (Tim)  
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
>
>
>
> -- 
> "Nobody knows who i really am
> I never felt this empty before
> And if I never need someone to come along
> Who's gonna comfort me and keep me strong?"
> --
> Marcell Manfrin Barbacena
> barbacena at gmail.com
> MSN Messenger: marcell84bruk at hotmail.com
> Skype: callto://marcell84bruk
> +55 (83) 8808-8555 (Oi)
> +55 (61) 8152-7533 (Tim)




More information about the weld-dev mailing list