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

Revisit the way we fire ApplicationScoped events in servlets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.1.x
    • 3.0.0.Alpha17
    • None

      Currently, we use kind of a 'nasty' way to fire @Destroyed and @BeforeDestroyed events for App scope in servlet environment. As it is, these events don't really have much value as they are not closely linked to how servlets operate. Plus they are fired one right after the other.

      NOTE: @BeforeDestroyed is added as a part of WELD-2269

      See org.jboss.weld.servlet.HttpContextLifecycle#contextDestroyed for code.

      We should try to think of an alternative approach (SPI?).

              Unassigned Unassigned
              manovotn Matěj Novotný
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: