[seam-dev] Stateless scope

Lincoln Baxter, III lincolnbaxter at gmail.com
Mon Jun 7 11:22:41 EDT 2010


Yes!

I've already implemented a few features in the Faces Module that cannot
provide @PreDestroy lifecycle callbacks. And I have *great need* for a truly
stateless producer method. I need this very badly.

Let me know how I can help.

--Lincoln

On Mon, Jun 7, 2010 at 7:19 AM, Stuart Douglas
<stuart at baileyroberts.com.au>wrote:

> I have been thinking about adding a stateless scope to weld extensions,
> that would allow for a similar construct to @Unwrap from seam 2. Basically
> if you have a Stateless producer method the the producer will be called
> every time a method on the proxy is invoked.
>
> The main downside that I can see is that beans that have a stateless scope
> no longer have a well defined lifecycle, so disposal methods etc will not be
> called, however as long as this is documented I don't think that this is
> much of a problem.
>
> Does this sound like a good idea?
>
> Stuart
>
>
>
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
>



-- 
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20100607/1934c719/attachment.html 


More information about the seam-dev mailing list