Return-Path: Delivered-To: apmail-avalon-dev-archive@www.apache.org Received: (qmail 20098 invoked from network); 1 Mar 2004 15:52:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Mar 2004 15:52:58 -0000 Received: (qmail 14928 invoked by uid 500); 1 Mar 2004 15:52:51 -0000 Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 14881 invoked by uid 500); 1 Mar 2004 15:52:51 -0000 Mailing-List: contact dev-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list dev@avalon.apache.org Received: (qmail 14864 invoked from network); 1 Mar 2004 15:52:50 -0000 Received: from unknown (HELO f2.hedhman.org) (203.121.47.163) by daedalus.apache.org with SMTP; 1 Mar 2004 15:52:50 -0000 Received: from f2.hedhman.org (f2.hedhman.org [127.0.0.1]) by f2.hedhman.org (8.12.8/8.12.8) with ESMTP id i21FqdES010365 for ; Mon, 1 Mar 2004 23:52:47 +0800 From: Niclas Hedhman Organization: Private To: "Avalon Developers List" Subject: Re: [merlin] JMX MBean generator facility Date: Mon, 1 Mar 2004 23:52:39 +0800 User-Agent: KMail/1.5 References: <200403012313.11192.niclas@hedhman.org> <1078155306.29711.59.camel@fshpr-w100047b.hpr.for.gov.bc.ca> In-Reply-To: <1078155306.29711.59.camel@fshpr-w100047b.hpr.for.gov.bc.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403012352.39040.niclas@hedhman.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Monday 01 March 2004 23:35, Cameron Fieber wrote: > Nit picking is fine! :-) My understanding of the event model is > somewhat limited but as I understand it: a modelAdded containing a > ContainmentModel as the child would mean that a new sub-container was > just added? In that case I call processModel on the DeploymentModel > contained in the event to register as a listener to that sub-container, > and process the models that it contains. If there's a better way to do > it, I'm all for it - I'm mainly just trying to figure this stuff out as > I go. Well, first of all the CompositionEvents are something very new, couple of weeks I think, and is not completely ironed out. Not discussing what happens exactly (which I think there are some bugs), but what _should_ happen. In an EventDriven programming model, you should never be required to traverse or search for information. You show some interest by registering a listener, and stuff then comes to you. Now, that would mean in our case that if a container with loads of components in it is added to the model, it should be seen as 1 ContainerAdded event + 1 ComponentAdded event for each component in the container. We'll try to make this a reality, if it is not so now (I think it is not so for removal, at the moment). As for the strategy, let's investigate the alternatives. The good side is that I am pretty interested in getting this integrated, and I think Stephen also appreciate your work here, so we will do what it takes to bring this inline with the rest of Merlin. Niclas +---------//-------------------+ | http://www.bali.ac | | http://niclas.hedhman.org | +------//----------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org For additional commands, e-mail: dev-help@avalon.apache.org