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

arjan tijms (JIRA) jira-events at lists.jboss.org
Mon Oct 1 17:25:02 EDT 2012


arjan tijms created CDI-273:
-------------------------------

             Summary: 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.1 (Proposed)
            Reporter: arjan tijms


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