[cdi-dev] [JBoss JIRA] (CDI-114) Allow registration of beans at runtime
Pete Muir (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Nov 21 08:03:40 EST 2011
[ https://issues.jboss.org/browse/CDI-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644301#comment-12644301 ]
Pete Muir commented on CDI-114:
-------------------------------
I'm very reluctant to allow dynamically defined beans. If we did, it would really be CDI2 not CDI 2.0 (completely different non-backwards compat design).
If the CDI container can restart fast enough, there is no real difference between dynamic beans and restarting the container. Of course, you don't want to restart the whole app as you loose session state. I'm talking about *just* restarting the CDI container.
> Allow registration of beans at runtime
> --------------------------------------
>
> Key: CDI-114
> URL: https://issues.jboss.org/browse/CDI-114
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Beans
> Affects Versions: 1.0
> Reporter: Vincent Massol
> Fix For: TBD
>
>
> I have use cases where I need to register a bean dynamically at runtime (see the forum reference link for a detailed description of the use case).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list