Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3030

DefaultContentBeansTool.getAnnotatedClasses() doesn't need to depend on HstRequestContext

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Low
    • Resolution: Fixed
    • 2.28.00
    • 2.28.06, 2.30.00
    • None
    • None

    Description

      Currently, DefaultContentBeansTool.getAnnotatedClasses(ClasspathResourceScanner) depends on HstRequestContext only because it wants to read servlet context parameter.

      It must be more useful to let it not depend on HstRequestContext. It can access ComponentManager#getServletContext() instead.

      This will make it more convenient if someone wants to create an ObjectConverter where there's no HstRequestContext available. e.g, an hippo event listener implementation.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: