Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1697

Make context id configurable with Weld Servlet

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.2.3.Final
    • None
    • None
    • None

      Currently, Weld Servlet always uses the default "STATIC_INSTANCE" identifier. Make it possible to configure the context identifier.

      The identifier should be read from ServletContext as an initParameter. If the init parameter is set, it should be used when starting Weld at https://github.com/weld/core/blob/master/environments/servlet/core/src/main/java/org/jboss/weld/environment/servlet/WeldServletLifecycle.java#L97

      The init parameter key is Container.CONTEXT_ID_KEY

              mkouba@redhat.com Martin Kouba
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: