[jboss-jira] [JBoss JIRA] Closed: (EJBTHREE-850) Suppress execution of @PrePassivate and @PostActivate when ProxiedStatefulBeanContext is serialized/deserialized

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Feb 19 04:38:38 EST 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-850?page=all ]

Brian Stansberry closed EJBTHREE-850.
-------------------------------------

    Resolution: Done

> Suppress execution of @PrePassivate and @PostActivate when ProxiedStatefulBeanContext is serialized/deserialized
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-850
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-850
>             Project: EJB 3.0
>          Issue Type: Sub-task
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>             Fix For: EJB 3.0 RC10 - FD
>
>
> 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 .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list