[webbeans-dev] Fwd: static producers

Matt Drees matt.drees at gmail.com
Fri Nov 14 13:49:31 EST 2008


Correct me if I'm wrong, but static producer methods wouldn't be able to be
@Specialized, right?
Maybe that's fine.
-Matt


On Fri, Nov 14, 2008 at 12:50 PM, Gavin King <gavin at hibernate.org> wrote:

> ---------- Forwarded message ----------
> From: Gavin King <gavin at hibernate.org>
> Date: Fri, Nov 14, 2008 at 12:50 PM
> Subject: static producers
> To: Java Community Process JSR #299 Expert List <JSR-299-EG at jcp.org>
>
>
> Question:
>
> should we allow producer methods and fields to be declared "static"?
>
> This would mean that the Web Bean manager does not need to instantiate
> an instance of the Web Bean that declares the producer method/field
> when invoking the method/field.
>
> I can't think of a good reason why *not*...
>
> Furthermore, should we allow static observer and disposal methods?
> Again, I can't quite think of a reason why *not*...
>
> --
> Gavin King
> gavin.king at gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
>
>
>
> --
> Gavin King
> gavin.king at gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20081114/1a47a868/attachment.html 


More information about the weld-dev mailing list