Return-Path: Delivered-To: apmail-jakarta-avalon-phoenix-dev-archive@apache.org Received: (qmail 71247 invoked from network); 5 Mar 2002 12:48:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 5 Mar 2002 12:48:36 -0000 Received: (qmail 2139 invoked by uid 97); 5 Mar 2002 12:48:35 -0000 Delivered-To: qmlist-jakarta-archive-avalon-phoenix-dev@jakarta.apache.org Received: (qmail 2099 invoked by uid 97); 5 Mar 2002 12:48:35 -0000 Mailing-List: contact avalon-phoenix-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon-Phoenix Developers List" Reply-To: "Avalon-Phoenix Developers List" Delivered-To: mailing list avalon-phoenix-dev@jakarta.apache.org Received: (qmail 2088 invoked from network); 5 Mar 2002 12:48:34 -0000 X-Sent: 5 Mar 2002 12:48:33 GMT From: "Leo Simons" To: "Avalon Phoenix Dev" Subject: managing applications Date: Tue, 5 Mar 2002 13:48:38 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Have modified ApplicationMbean and made DefaultApplication implement it. Modified DefaultKernel so it (un)exports created DefaultApplications through SystemManager. Saw some problems while testing. FA, XcommanderServer (a Block) binds a port. As it doesn't implement stoppable, calling stop() on the Application doesn't unbind the port (this is left to gc, I guess). Thus, calling restart() on the Application results in an error. Should Block (like Application) extend Startable & Stoppable? Or should there be more intelligence in DefaultApplication to avoid problems like aforementioned? cheers, - Leo -- To unsubscribe, e-mail: For additional commands, e-mail: