[webbeans-dev] Resolve by name and Container interface
Pete Muir
pete.muir at jboss.org
Sun Jul 6 14:43:38 EDT 2008
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
More information about the weld-dev
mailing list