[cdi-dev] [JBoss JIRA] (CDI-273) Clarify that CDI does not use standard APIs to remove a SFSB

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Oct 19 11:07:01 EDT 2012


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

Pete Muir resolved CDI-273.
---------------------------

    Fix Version/s:     (was: 1.1 (Proposed))
       Resolution: Duplicate Issue

    
> Clarify that CDI does not use standard APIs to remove a SFSB
> ------------------------------------------------------------
>
>                 Key: CDI-273
>                 URL: https://issues.jboss.org/browse/CDI-273
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Java EE integration
>    Affects Versions: 1.0
>            Reporter: arjan tijms
>              Labels: destroy, ejb, scope, stateful
>
> By applying a scope to a Stateful Session Bean, CDI gets the responsibility to at some point destroy this SFSB (when the scope ends).
> However, destroying a SFSB other then by calling a method annotated with `@Remove` is not something a user can normally do. There is no standard API for this in EJB.
> CDI is capable of doing this by calling into implementation specific EJB APIs, but this is not overly clear when reading the spec and could be clarified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list