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.

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: