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

Support Request Scope for EJB @Singleton @PostConstruct methods

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pmuir Pete Muir
                  Reporter:
                  guidbona Guido Bonazza
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: