[cdi-dev] [JBoss JIRA] (CDI-243) SLSBs must currently @Dependent in CDI, however this is not really a good match

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Aug 22 08:02:15 EDT 2012


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

Pete Muir updated CDI-243:
--------------------------


We principally see this issue as the CDI container cannot destroy SLSB instances, and around injection points, as Martin outlines.
                
> SLSBs must currently @Dependent in CDI, however this is not really a good match
> -------------------------------------------------------------------------------
>
>                 Key: CDI-243
>                 URL: https://issues.jboss.org/browse/CDI-243
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Java EE integration
>            Reporter: Martin Kouba
>             Fix For: 1.1 (Proposed)
>
>
> Right now it should be possible to inject InjectionPoint metadata to dependent SLSB (see 5.5.7. Injection point metadata). I think it may lead to inconsistencies - SLSB should not have any state as it is usually pooled and reused for every invocation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list