[webbeans-issues] [JBoss JIRA] Created: (WBRI-210) Destroyed beans not removed from normal contexts

David Allen (JIRA) jira-events at lists.jboss.org
Fri Mar 27 09:14:22 EDT 2009


Destroyed beans not removed from normal contexts
------------------------------------------------

                 Key: WBRI-210
                 URL: https://jira.jboss.org/jira/browse/WBRI-210
             Project: Web Beans
          Issue Type: Bug
          Components: Contexts
    Affects Versions: 1.0.0.BETA1
            Reporter: David Allen
            Assignee: Nicklas Karlsson


Whenever a contextual bean is destroyed, that instance is not to be returned again by the context on later calls to get() per section 8.1 of JSR-299 specification.

The current specification does not actually provide any API to remove the instance from a context.  Since any application can add additional contexts, there needs to be a specific API to allow the destroyed beans to removed or to otherwise notify the corresponding context that a bean has been destroyed.

The test which is currently marked ri-broken is DestroyedInstanceReturnedByGetTest.testDestroyedInstanceMustNotBeReturnedByGet().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list