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

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Fri Jul 30 06:38:49 EDT 2010


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

Max Rydahl Andersen updated JBIDE-6676:
---------------------------------------

    Fix Version/s: 3.2.x


Alexey, something we could do in 3.2.x ? Assigned it there for now but feel free to put it on more aprropriate version.

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