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.