Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1522

Following operations within singleton EJB should be allowed in POST_CONSTRUCT and PRE_DESTROY callbacks according to EJB 3.1 spec --> section.4.8.6 --> Table 3.

Attach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment Visibility
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.0
    • ejb31
    • None

    Description

      Following operations within singleton EJB should be allowed in POST_CONSTRUCT and PRE_DESTROY callbacks according to EJB 3.1 spec --> section.4.8.6 --> Table 3.

      case timerMethod:
      case setRollbackOnly:
      case getRollbackOnly:
      case UserTransactionMethod:

      Seems current SingletonContext was copied from StatelessContext so that they looks similar. But for the operations above, singleton EJB has different definition to that of stateless EJB according the the spec.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            genspring Lin Quan Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment