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

Brian Stansberry (JIRA) jira-events at jboss.com
Sat Jan 27 18:50:57 EST 2007


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
             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