Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 72219 invoked from network); 5 Apr 2005 13:51:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2005 13:51:14 -0000 Received: (qmail 85650 invoked by uid 500); 5 Apr 2005 13:51:09 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 85584 invoked by uid 500); 5 Apr 2005 13:51:08 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 85566 invoked by uid 99); 5 Apr 2005 13:51:08 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 05 Apr 2005 06:51:07 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 1E0CC28A; Tue, 5 Apr 2005 15:51:04 +0200 (CEST) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 34306] New: - [chain] Decouple CatalogFactory lookup from LookupAction X-Bugzilla-Reason: AssignedTo Message-Id: <20050405135104.1E0CC28A@ajax.apache.org> Date: Tue, 5 Apr 2005 15:51:04 +0200 (CEST) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34306 Summary: [chain] Decouple CatalogFactory lookup from LookupAction Product: Commons Version: 1.0 Final Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: chain AssignedTo: commons-dev@jakarta.apache.org ReportedBy: Joe@Germuska.com LookupAction currently uses the static CatalogFactory.getInstance() method to get a CatalogFactory; this interferes with catalog/command instantiation processes which don't register catalogs with the static instance. Rather than require all instantiation processes to use the static registration, LookupAction should be changed to have a CatalogFactory property which can be set by a "Dependency Injection" IoC framework like Spring. For backwards compatibility, the property can default to being set to the static singleton instance. I have this code mostly written, simply awaiting a bit of testing -- but we might as well get it in before the Chain 1.1 release, so I wanted to register it in Bugzilla. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org