Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 98263 invoked from network); 1 Aug 2010 20:07:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Aug 2010 20:07:04 -0000 Received: (qmail 33991 invoked by uid 500); 1 Aug 2010 20:07:03 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 33908 invoked by uid 500); 1 Aug 2010 20:07:03 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 33899 invoked by uid 99); 1 Aug 2010 20:07:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 20:07:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 20:07:02 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o71K6g2M023722 for ; Sun, 1 Aug 2010 20:06:42 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o71K6f7o023721; Sun, 1 Aug 2010 16:06:41 -0400 (EDT) Date: Sun, 1 Aug 2010 16:06:41 -0400 (EDT) Message-Id: <201008012006.o71K6f7o023721@thor.apache.org> From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 49234] JMX Descriptor Modifications X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 7 X-Bugzilla-Component: Catalina X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markt@apache.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=49234 --- Comment #68 from Mark Thomas 2010-08-01 16:06:35 EDT --- (In reply to comment #67) > Any comments on this? However I am not sure this approach can be applied to > addChild methods since different child types (Host, Context e.g.) require > different parameters for their initialization. Please ping sooner if you don't getting a reply in 48 hours. I missed your 23/07 post. 1. Please use 4 spaces not tabs 2. All public methods should have Javadoc comments 3. Why only modify the descriptor for StandardContext? What about Host, Engine etc 4. re addChild. All children *must* implement Container and they all should have a no-arg constructor. It should be simple to write a addChild method that takes a class name. The startChldren attribute on the parent can be used to prevent the added child from being started until it has been initialised. You may need to change the visibility of the LifecycleMBeanBase.register() method Overall, this looks to be heading in the right direction but I'd like to see it get to the point where all containers can be added and removed via JMX before it is committed. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org