avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@apache.org>
Subject Re: Fortres: async/sync init
Date Tue, 16 Jul 2002 14:25:05 GMT
On Tuesday 16 July 2002 10:25 am, Marcus Crafter wrote:
> 	Why wouldn't it work ? It seems like AbstractContainer was built
> 	to handle if the command queue was null (it checks for null before
> 	queueing operations).
>
> 	Was there a technical reason why it wouldn't work, or did you mean
> 	that the actual operation of passing null to the setCommandQueue()
> 	method wasn't obvious enough ?

DefaultContext can't store a null. so setCommandQueue( null ) will just clear 
and prior stored value.

Then in ContextManager.initializeCommandQueue() it will create the queue if 
none is found. (Which will be true since you can't store null :)
-pete

-- 
peter royal -> proyal@apache.org

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message