Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-11467

Improve HippoWebappContextRegistry to replace ServletContextRegistry and make distinctive use of the HippoWebappContext.Type

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 13.0.0
    • None
    • None
    • Pulsar
    • Platform 191 - Messy HST 1

    Description

      The HippoWebappContextRegistry is intended to replace the (limited used) ServletContextRegistry.

      The only missing (currently used) feature to add is looking up the ServletContext (HippoWebappContext) by its contextpath.

      This then also allows removing the HippoWebappListener again, which only was temporarily needed to register a SITE webapp, into the standard HstContextLoaderListener which already is configured in each HST web.xml.

      Finally, the latter means that now every HST SITE webapp will get 'registered' (through a ServiceTracker) in the ConfigurationServiceImpl, so this no longer is an error when system parameter use.hcm.sites=false is defined (legacy project structure), but then simply will be ignored.

      All this is trivial rewiring, removing the outdated ServletContentRegistry and the temporary HippoWebappListener.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adouma Ate Douma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: