Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-428

Make it possible to replace InstanceFactory for filters, listeners

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.3.0.Beta1
    • 1.2.3.Final
    • None
    • None

    Description

      We're using ServletInfo.setInstanceFactory() in a ServletExtension to install CDI support to Servlets when running in an embedded undertow environment or WildFly Web.

      https://github.com/jharting/core/commit/1de59f75d5e2f818cc3f9b472217688606168443#diff-2e7fd9b6fc54833a4620d2517b9a2bf4R45

      This is limited to Servlets only as for FilterInfo and ListenerInfo there is no setInstanceFactory(). Unless there is an objection I am going to send a PR adding those.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jharting Jozef Hartinger
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: