jpa-spec
  1. jpa-spec
  2. JPA_SPEC-16

Entity listener PostConstruct/PreDestroy if no injection

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Works as designed
    • Labels:
      None

      Description

      If there are no injection points, what happens if PostConstruct and PreDestroy are used in entity listener classes? Should we warn against portability issues? Allow them to be called? Other?

        Activity

        Hide
        ldemichiel added a comment -

        Spec follows the standard CDI/Java EE requirements for CDI injection support and invocation of these callbacks.

        Show
        ldemichiel added a comment - Spec follows the standard CDI/Java EE requirements for CDI injection support and invocation of these callbacks.

          People

          • Assignee:
            Unassigned
            Reporter:
            ldemichiel
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: