Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-219

Support Request Scope for EJB @Singleton @PostConstruct methods

XMLWordPrintable

      A Request context should be available in @PostConstruct methods of EJB Singletons.
      This is a completion of section 6.7.1 of the CDI 1.0 spec, which covers @Asynchronous and @Timeout EJB methods.
      Probably the container should ensure that a new context is always created for the @PostConstruct invocation, to be coherent with section 4.8.3 of the EJB 3.1 spec, which specifies the transactional behavior of @Singleton @PostConstruct.

              pmuiratbleepbleep Pete Muir (Inactive)
              guidbona_jira Guido Bonazza (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: