Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 12273 invoked from network); 27 Jun 2006 00:27:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2006 00:27:29 -0000 Received: (qmail 52570 invoked by uid 500); 27 Jun 2006 00:27:23 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 52509 invoked by uid 500); 27 Jun 2006 00:27:22 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 52496 invoked by uid 99); 27 Jun 2006 00:27:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jun 2006 17:27:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [199.237.51.194] (HELO green.rootmode.com) (199.237.51.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jun 2006 17:27:21 -0700 X-ClientAddr: 68.171.62.46 Received: from [192.168.15.105] (68-171-62-46.vnnyca.adelphia.net [68.171.62.46]) by green.rootmode.com (8.12.10/8.12.10) with ESMTP id k5R0QZlk002315 for ; Mon, 26 Jun 2006 20:26:36 -0400 Mime-Version: 1.0 (Apple Message framework v750) Content-Transfer-Encoding: 7bit Message-Id: <611C017A-F81F-474E-941A-250CBB304766@iq80.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: dev From: Dain Sundstrom Subject: Extend class path from config.xml Date: Mon, 26 Jun 2006 17:26:50 -0700 X-Mailer: Apple Mail (2.750) X-RootMode-MailScanner-Information: Please contact the ISP for more information X-RootMode-MailScanner: Found to be clean X-MailScanner-From: dain@iq80.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think we should add support to extend the class path from the config.xml file. Without this it is not possible to add GBeans via a the configuration.xml using classes not declared in the original plan. Another problem revolves around extension hooks in services. It is common for a service to allow you to specify a alternative implementation for some internal service. For example, our SecurityService GBean allows for the replacement of the policyConfigurationFactory and the policyProvider. Unfortunately, these hooks are virtually useless since the replacement classes must have been included in the environment of the original plan. Of course, the best option would be to rewrite this service to use references, which are easily replaceable and externalizable in another plan, but that is not always possible. I have no plans to implement this myself, but wanted to get a discussion going, and if we decide that is want to add this feature, I'll create a JIRA to track it. -dain