You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/06/12 11:15:42 UTC
[jira] [Created] (DELTASPIKE-192) BeanManagerProvider should warn
User if called before the container got started
Mark Struberg created DELTASPIKE-192:
----------------------------------------
Summary: 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
[jira] [Resolved] (DELTASPIKE-192) BeanManagerProvider should warn
User if called before the container got started
Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
[ 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