[Geoserver-devel] [jira] Created: (GEOS-4522) Usage of CatalogImpl in beans prevents other Catalog implementations to reuse CatalogFactoryImpl

Usage of CatalogImpl in beans prevents other Catalog implementations to reuse CatalogFactoryImpl
------------------------------------------------------------------------------------------------

                 Key: GEOS-4522
                 URL: http://jira.codehaus.org/browse/GEOS-4522
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.1-RC5
            Reporter: Fredrik Holmqvist
            Assignee: Andrea Aime
            Priority: Minor
         Attachments: useCatalogNotImpl.patch

CatalogFactoryImpl, WMSLayerInfoImpl and WMSStoreInfoImpl only allows CatalogImpl in constructor even though they have no need to be so specific.

(As a side note why are public static functions on CatalogImpl and SecureCatalogImpl, when they are beans loaded by the Spring context. Usage of those functions makes them hardwired as you can't override that behaviour.)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira