Issue Details (XML | Word | Printable)

Key: CHAIN-3
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Joe Germuska
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Chain

[chain] Decouple CatalogFactory lookup from LookupAction

Created: 05/Apr/05 10:51 PM   Updated: 02/Jan/08 07:01 AM
Return to search
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.1

Time Tracking:
Not Specified

Environment:
Operating System: other
Platform: Other

Bugzilla Id: 34306


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.