Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 83426 invoked from network); 18 Feb 2009 14:31:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2009 14:31:28 -0000 Received: (qmail 91945 invoked by uid 500); 18 Feb 2009 14:31:27 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 91915 invoked by uid 500); 18 Feb 2009 14:31:27 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 91904 invoked by uid 99); 18 Feb 2009 14:31:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 06:31:26 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.200.145.36] (HELO omta0106.mta.everyone.net) (216.200.145.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 14:31:20 +0000 Received: from sj1-dm04.mta.everyone.net (sj1-slb03-gw2 [172.16.1.96]) by omta0106.mta.everyone.net (Postfix) with ESMTP id E2D527294D7 for ; Wed, 18 Feb 2009 06:38:54 -0800 (PST) X-Eon-Dm: sj1-dm04 Received: by sj1-dm04.mta.everyone.net (EON-AUTHRELAY2 - 426dd405) id sj1-dm04.49952074.20ccd6 for ; Wed, 18 Feb 2009 06:30:59 -0800 X-Eon-Sig: AQLYMZZJnBujb+2RpgIAAAAB,b27f1079092c7a7b10fbbd73a4a41db8 Message-ID: <499C1B9D.4010904@wispertel.net> Date: Wed, 18 Feb 2009 07:30:53 -0700 From: Randy Watler User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Jetspeed Developers List Subject: Adding Required Spring Categories Metadata for Filtering Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Gang, I have been pondering how to add a switch type flag to be used to select cross component technology implementations within the Spring configurations for J2. I am pondering categories like 'ojb' and 'jpa'. To be honest, I really am not convinced that filter/categories is the greatest solution, but I am trying to work with it. The filtering logic seems to be strictly an 'OR' operation. In other words, if any category defined in the meta data matches the current category set, the bean is included. Selecting cross concerns like 'ojb' or 'jpa' might be easier to specify as an 'AND' operation. Basically, I want to say something like: "use this bean only if a specific category is defined" in addition to the existing categories logic. I am doubling down on the complexity for sure, but I am wondering if this approach would have any objectors? Perhaps it is already implemented? Just checking first before I go down the path. All feedback welcome. Randy --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org