You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Mark Struberg <st...@yahoo.de> on 2009/01/21 17:55:07 UTC

ConversationComponent#destroyInstance question

Hi Gurkan

ConversationComponent contains the following function:

    @Override
    protected void destroyInstance(Conversation instance)
    {
        if (!instance.isLongRunning())
        {
            instance = null;
        }
    }

But instance = null has absolutely no meaning. So this currently is the same like having an empty method. 

What to do?

LieGrue,
strub



      

Re: ConversationComponent#destroyInstance question

Posted by Gurkan Erdogdu <gu...@yahoo.com>.
Yes, you are correct. we will revisit this method later.




________________________________
From: Mark Struberg <st...@yahoo.de>
To: openwebbeans-dev@incubator.apache.org
Sent: Wednesday, January 21, 2009 6:55:07 PM
Subject: ConversationComponent#destroyInstance question

Hi Gurkan

ConversationComponent contains the following function:

    @Override
    protected void destroyInstance(Conversation instance)
    {
        if (!instance.isLongRunning())
        {
            instance = null;
        }
    }

But instance = null has absolutely no meaning. So this currently is the same like having an empty method. 

What to do?

LieGrue,
strub