[cdi-dev] [JBoss JIRA] (CDI-114) Allow registration of beans at runtime
Vincent Massol (JIRA)
issues at jboss.org
Tue Feb 21 07:18:00 EST 2017
[ https://issues.jboss.org/browse/CDI-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13366835#comment-13366835 ]
Vincent Massol commented on CDI-114:
------------------------------------
Hi [~ljnelson]. Thanks for mentioning HK2, I didn't know about it. I'll check it out. At first glance, it look very similar to what we have implemented in XWiki. I'll read more about it.
However I'm not sure it would justify the effort to switch to it. We don't have any problem with our custom Component Manager and it's low cost maintenance now. What would improve the XWiki technology stack would be to move to a "standard" DI framework. CDI would probably have been the most standard option if it had supported runtime addition of beans. Guice would be another possibility but I'd need to check how dynamicity could be implemented (I remember reading that it was possible).
Thanks
> 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 was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the cdi-dev
mailing list