[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
Mon Oct 1 18:48:03 EDT 2012


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

Pete Muir updated CDI-273:
--------------------------

        Fix Version/s: 1.1 (Proposed)
    Affects Version/s: 1.0
                           (was: 1.1 (Proposed))
      Forum Reference: http://stackoverflow.com/questions/10403531/how-does-cdi-remove-stateful-session-bean, http://java.net/jira/browse/EJB_SPEC-63  (was: http://stackoverflow.com/questions/10403531/how-does-cdi-remove-stateful-session-bean, http://java.net/jira/browse/EJB_SPEC-63)

    
> 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
>             Fix For: 1.1 (Proposed)
>
>
> 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