DestroyedInstanceReturnedByGetTest assumes that the application scope can be 
destroyed and then re-created
----------------------------------------------------------------------------------------------------------

                 Key: CDITCK-212
                 URL: https://issues.jboss.org/browse/CDITCK-212
             Project: CDI TCK
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Stuart Douglas


Context applicationContext = 
getCurrentManager().getContext(ApplicationScoped.class); 
destroyContext(applicationContext);
setContextActive(applicationContext);

myApplicationBeanInstance = applicationContext.get(myApplicationBean);

The spec does not require that the application scope can be destroyed and 
re-created, if fact it could be argued that this behaviour violates the spec, 
as the application context is supposed to last for the lifetime of the 
application.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to