[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6676) Warn if remove method of SFSB is called on non dependent scoped bean

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Aug 30 11:38:12 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-6676:
----------------------------------

    Fix Version/s: 3.3.x
                       (was: 3.2.x)


I don't know how we can implement it now without validating all the method calls. But it will be a very slow process...

> Warn if remove method of SFSB is called on non dependent scoped bean
> --------------------------------------------------------------------
>
>                 Key: JBIDE-6676
>                 URL: https://jira.jboss.org/browse/JBIDE-6676
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: cdi (jsr-299)
>            Reporter: Pete Muir
>            Assignee: Alexey Kazakov
>             Fix For: 3.3.x
>
>
> "If a session bean is a stateful session bean, and the scope is not @Dependent, the application may not directly call any EJB remove method of any instance of the session bean. If the application directly calls an EJB remove method of any contextual instance of a session bean that is a stateful session bean and declares any scope other than @Dependent, an UnsupportedOperationException is thrown"
> JBT should warn or error if a user does this.

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

        


More information about the jbosstools-issues mailing list