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

Revisit the way we fire ApplicationScoped events in servlets

    XMLWordPrintable

Details

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

    Description

      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?).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: