Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-849 @PrePassivate and @PostActivate callbacks not properly handled for nested SFSBS
  3. EJBTHREE-850

Suppress execution of @PrePassivate and @PostActivate when ProxiedStatefulBeanContext is serialized/deserialized

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • AS 4.2.0 GA
    • None
    • None
    • None

      See parent issue for why it is invalid to invoke the callbacks on the bean when the cache decides to passivate the proxy.

      StatefulCache impls could test for instanceof ProxiedStatefulBeanContext and not call prePassivate() and postActivate(), but it is probably simpler to simply turn those methods into no-ops on ProxiedStatefulBeanContext .

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: