[webbeans-dev] Manager.addContext return type

Dan Allen dan.j.allen at gmail.com
Tue Oct 28 13:50:47 EDT 2008


I wish all void methods in Java could optionally be dereferenced by
the owning type. I was hoping that would be in Groovy, but I guess
not.

-Dan

On Tue, Oct 28, 2008 at 1:38 PM, Gavin King <gavin at hibernate.org> wrote:
> Repeated invocation of addXxxx()
>
> On Tue, Oct 28, 2008 at 4:36 AM, Nicklas Karlsson <nickarls at gmail.com> wrote:
>> Hi,
>>
>>  I noticed that the Manager.addContext method returns Manager. What
>> is the usage scenario that would benefit from this
>> (instead of void)? Fluent interfaces?
>>
>> ---
>> Nik
>> _______________________________________________
>> webbeans-dev mailing list
>> webbeans-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>>
>
>
>
> --
> 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
>



-- 
Dan Allen
Software consultant | Author of Seam in Action

http://mojavelinux.com
http://mojavelinux.com/seaminaction

NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters.  Please don't hesitate to resend a message if
you feel that it did not reach my attention.



More information about the weld-dev mailing list