[ 
https://issues.apache.org/jira/browse/DELTASPIKE-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg resolved DELTASPIKE-192.
--------------------------------------

    Resolution: Fixed
    
> BeanManagerProvider should warn User if called before the container got 
> started
> -------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-192
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-192
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.2-incubating
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 0.3-incubating
>
>
> The only object which can get injected into an Extension during container 
> boot is the BeanManager. 
> Thus it doesn't make sense to use the BeanManagerProvider at this time.
> I'll add a flag 'booted' and log a non-portable warning if a user tries to 
> invoke BeanManagerProvider.getInstance().getBeanManager() before @Observes 
> AferDeploymentValidation.

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

        

Reply via email to