avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject Re: BlockListener needs more methods
Date Mon, 14 Jan 2002 11:10:10 GMT
Peter,

>>While looking through Eung-Ju's excellent RmiListener block it was
>>apparent that the blocks were blockAdded() in an expected order.  That
>>is new to me and good news if true.  Is it that they are added in the
>>same order as listed in assembly.xml ?
>>
>
>No ;)
>
>The blocks are loaded accorind to their dependencies. So if Block A depends 
>on Block B then B will be loaded before A (and shutdown before A). It is 
>probably the case that it will be in order defined in assembly.xml  excluding 
>dependencies - however this should not be relied upon because it may change 
>in the future ;) (Well probably not but you shouldn't be relying on it 
>anyways).
>
In which case dude, could we have a startupCompleted() or blocksAdded() 
or initialBlocksAdded().  This will help having cleaner code in 
blockAdded() The buffering of things that can;t be used yet is *very* 
cumbersome.

Regards,

- Paul H




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