[webbeans-dev] Re: Removal of pluggability contracts

Gavin King gavin at hibernate.org
Tue Jan 6 18:26:57 EST 2009


On Wed, Jan 7, 2009 at 10:19 AM, Jim Knutson <knutson at us.ibm.com> wrote:
> gavin.king at gmail.com wrote on 12/22/2008 01:55:26 PM:
>> And I don't think it's unprecedented to say that the container can
>> destroy an SFSB without invocation of a @Remove method, since it
>> already does that sometimes, for example when the @StatefulTimeout
>> occurs.
>
> Timeouts are exception conditions (i.e. something is wrong/hung) and
> recovering the instance to attempt to continue further processing
> is futile.  I don't think having the context remove an instance at
> the apropriate moment is an exception condition.

Sure.


-- 
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