[webbeans-dev] Re: @New

Gavin King gavin.king at gmail.com
Sun May 17 02:32:28 EDT 2009


On Wed, Feb 25, 2009 at 6:47 AM, Pete Muir <pmuir at redhat.com> wrote:
> Since the change in the spec defining that there is a new bean for every
> bean, we lost the language that disallows:
>
> @New @SomeOtherBinding Foo foo;
>
> AFAICT it still makes sense to disallow this. So, should that language be
> there?

No, we don't need it, since nothing matches that binding.

> We also lost the language that disallows specific declaration of a Bean as
> having @New as a binding type.

I don't think we need that.



-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list