CDI: Investigate fix for missing BeanManager#getELResolver support

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Done
    • Priority: L3 - Default
    • 7.16.0, 7.16.0-alpha4
    • Affects Version/s: None
    • Component/s: quarkus
    • None

      Solution idea

      1. Shade de.odysseus.juel into the Quarkus extension like we already do it in the DMN engine.
          • Or even cleaner: create a shaded jar containing de.odysseus.juel the DMN legacy FEEL Engine, as well as Quarkus, uses.
        • Identify Quarkus environment by catching the UnsupportedOperationException when BeanManager#getELResolver is called in CdiResolver#getWrappedResolver.
        • Register the javax.el.BeanELResolver instead.
          • Tries to create a ExpressionFactory by looking up the SPI.
        • Register an ExpressionFactory SPI in the Qurkus extension pointing to de.odysseus.el.ExpressionFactoryImpl.
      2. Wait until Quarkus supports BeanManager#getELResolver

      Decision

      • Currently, fixing CAM-13637 is not planned; however, since the fix seems feasible and effort-wise relatively simple, we should discuss it in our milestone sync meeting.
      • If we decide against fixing it, we should document this limitation.

        This is the controller panel for Smart Panels app

              Assignee:
              Tassilo Weidner-Mühl
              Reporter:
              Tassilo Weidner-Mühl
              Tassilo Weidner-Mühl Tassilo Weidner-Mühl
              Nikola Koevski Nikola Koevski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: