ejb-spec
  1. ejb-spec
  2. EJB_SPEC-23

Definition of timeout callback method is not optional when using programmatically created timers

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2
    • Labels:
      None

      Description

      EJB 3.2 draft 20110511

      For programmatically created timers, the timeout callback method may be a method that is annotated
      with the Timeout annotation or the bean may implement the javax.ejb.TimedObject interface.
      The javax.ejb.TimedObject interface has a single method, the timer callback method
      ejbTimeout.

      Should become:

      For programmatically created timers, the timeout callback method must either be a single method that
      is annotated with the Timeout annotation or the bean must implement the javax.ejb.TimedObject interface.
      The javax.ejb.TimedObject interface has a single method, the timer callback method
      ejbTimeout.

        Activity

        Hide
        marina vatkina added a comment -

        Fixed in the upcoming draft. See also EJB_SPEC-20 for a similar cleanup activity

        Show
        marina vatkina added a comment - Fixed in the upcoming draft. See also EJB_SPEC-20 for a similar cleanup activity

          People

          • Assignee:
            marina vatkina
            Reporter:
            Carlo de Wolf
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: