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

Reflect the output of CDI-625 - when exactly are @Initialized(X.class) and @Destroyed(X.class) events fired

    XMLWordPrintable

Details

    • Task
    • Resolution: Obsolete
    • Major
    • None
    • None
    • None
    • None

    Description

      The current behavior (does not cover all possible use cases - e.g. an integrator is responsible for activation during remote EJB invocations):

      Scope @Initialized @Destroyed
      @RequestScoped after init after destruction
      @SessionScoped after HTTP session creation after context and session destruction
      @ConversationScoped after init after conversation destruction
      @ApplicationScoped after init - app ctx always active for webapps during ServletContextListener.contextDestroyed() before destruction, for others after destruction

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: