[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3961) Don't Outject on Destroy

John Gilbert (JIRA) jira-events at lists.jboss.org
Fri Feb 20 13:14:46 EST 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12453565#action_12453565 ] 

John Gilbert commented on JBSEAM-3961:
--------------------------------------

i hear you. this is just not the behavior i expected. may be it just needs to be documented if not already...

i noticed it when i was trying to improve performance by leveraging @Out instead of relying on getters which get called many times.
some of these getters rely on an entityManager which is closed on destroy, so I was getting exceptions.
so far I am handling this by checking if the entityManager is still open.
maybe there is a better way...

> Don't Outject on Destroy
> ------------------------
>
>                 Key: JBSEAM-3961
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3961
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Performance and Scalability
>    Affects Versions: 2.1.1.GA
>            Reporter: John Gilbert
>            Priority: Minor
>
> It appears that Seam is performing outjection on destroy for SFSBs, which seems unnecessary.

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

        



More information about the seam-issues mailing list