Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 78456 invoked from network); 4 Nov 2003 17:49:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Nov 2003 17:49:45 -0000 Received: (qmail 62937 invoked by uid 500); 4 Nov 2003 17:49:32 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 62713 invoked by uid 500); 4 Nov 2003 17:49:30 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 62685 invoked from network); 4 Nov 2003 17:49:30 -0000 Received: from unknown (HELO www.princetongames.org) (66.250.40.202) by daedalus.apache.org with SMTP; 4 Nov 2003 17:49:30 -0000 Received: from localhost (ammulder@localhost) by www.princetongames.org (8.11.6/8.11.6) with ESMTP id hA4HrUq24009 for ; Tue, 4 Nov 2003 12:53:30 -0500 X-Authentication-Warning: www.princetongames.org: ammulder owned process doing -bs Date: Tue, 4 Nov 2003 12:53:30 -0500 (EST) From: Aaron Mulder X-X-Sender: ammulder@www.princetongames.org To: geronimo-dev@incubator.apache.org Subject: Re: DeploymentPlanner - Base class In-Reply-To: <5A3D8B1E-0EE8-11D8-95AE-000393DB559A@coredevelopers.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Tue, 4 Nov 2003, Dain Sundstrom wrote: > That is what I thought. We can easily find all deployments with an > ObjectName pattern query. > ... > That won't work. Dependencies are static and so are notification > listeners, so when every you changed states you would have to > reestablish all dependencies and any listener would have to reregister. Well, most of the JSR-88 methods want to get a list of modules in a particular state (running, stopped, etc.). Do you think it's worth using an ObjectName query and then individually querying every module for its state as opposed to trying to maintain a indexed list of every module with its state and type? Aaron