[
https://issues.jboss.org/browse/CDI-114?page=com.atlassian.jira.plugin.sy...
]
Laird Nelson commented on CDI-114:
----------------------------------
([~vmassol], you may wish to use [
HK2|https://hk2.java.net/2.5.0-b34/] instead of CDI in
these cases as it is [designed for this sort of dynamic
situation|https://hk2.java.net/2.5.0-b34/apidocs/org/glassfish/hk2/api/Dy...].
I personally prefer the static nature of CDI and am very glad that the relationships
between beans are set up in advance, and consider this static bias part of the nature of
CDI. HK2 is a much more freewheeling dependency injection framework with some similar
features; it may more closely match your requirements.)
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)