Issue Type: Bug Bug
Affects Versions: 2.0.2.Final
Assignee: Jozef Hartinger
Created: 21/Jul/13 4:36 AM
Description:

BeanManager.getBeans() throws an exception if the state of the container is anything other than VALIDATED or INITIALIZED.

The message of the exception is "BeanManager method getBeans() is not available during application initialization", which is misleading when the container is in the SHUTDOWN state.

Actually, the spec doesn't even say that an exception should be thrown when shutdown. But it sounds reasonable that it should.

We should either not throw the exception or change the message to something like "... getBeans() is not available during application initialization or after shutdown" (or split these two cases and have different messages for each case).

Project: Weld
Priority: Major Major
Reporter: Marko Lukša
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