Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 79311 invoked from network); 14 Sep 2006 19:22:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Sep 2006 19:22:29 -0000 Received: (qmail 4766 invoked by uid 500); 14 Sep 2006 19:22:26 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 4715 invoked by uid 500); 14 Sep 2006 19:22:25 -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 4699 invoked by uid 99); 14 Sep 2006 19:22:25 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2006 12:22:25 -0700 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,FORGED_RCVD_HELO,FORGED_YAHOO_RCVD Received: from ([66.94.25.112:65439] helo=svcstatl08.hotspot.t-mobile.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id BB/60-07023-DEBA9054 for ; Thu, 14 Sep 2006 12:22:22 -0700 Received: from [10.252.143.181] (181.143.252.10.in-addr.arpa [10.252.143.181]) by svcstatl08.hotspot.t-mobile.com (8.12.10+Sun/8.12.10) with ESMTP id k8EJMHW7004834 for ; Thu, 14 Sep 2006 15:22:17 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v749.3) Content-Transfer-Encoding: 7bit Message-Id: <5E8718A5-A440-4D3C-B76A-A94AE2898FCC@yahoo.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: "Donald Woods (JIRA)" From: David Jencks Subject: We might need "aliased" modules/configurations/artifactIds Date: Thu, 14 Sep 2006 15:22:35 -0400 X-Mailer: Apple Mail (2.749.3) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlx=0 adultscore=0 adjust=0 reason=mlx engine=3.1.0-0609080000 definitions=main-0609140006 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I started working on a version of geronimo that uses the jta11 transaction manager in the sandbox. So, I wrote a new transaction configuration using the new gbean and started trying to assemble a server. My new config has gbeans with exactly the same names (except for artifactId) as the old jta 1.0.1B configuration (present in GERONIMO-2398, please vote). Now it turns out that in order to swap these configs I am going to need to change almost all the other configs so they depend on my new one instead of the old one. This highlights a need for more functional-based dependencies. Conceptually we kind of want to say, "this module depends on a module supplying services A, B, C" One idea I had that might be pretty easy to implement would be to expand the explicit-versions resolving code a bit so that you can supply a properties file that says "replace requests for artifactId X with artifactId Y" and plug it in the the artifact resolver, configuration, and kernel so that when you ask for a gbean with artifactId X you get one with the same name map and interfaces but with artifactId Y. I think of this as aliasing X as Y (or maybe its vice-versa). I'm starting to try to implement this since I'm kind of blocked without something like this... but this might not be the best possible solution or even the easiest. Anyone want to comment or suggest better ideas? thanks david jencks