[
https://jira.jboss.org/jira/browse/WBRI-210?page=com.atlassian.jira.plugi...
]
David Allen resolved WBRI-210.
------------------------------
Fix Version/s: 1.0.0.PREVIEW
Resolution: Rejected
Misinterpretation of the specification. Bean destruction only occurs by a context, and
thus it can remove the bean. The test can be fixed independently.
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
Fix For: 1.0.0.PREVIEW
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