commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34306] New: - [chain] Decouple CatalogFactory lookup from LookupAction
Date Tue, 05 Apr 2005 13:51:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34306>.
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


Mime
View raw message