[
https://issues.jboss.org/browse/CDI-114?page=com.atlassian.jira.plugin.sy...
]
Romain Manni-Bucau commented on CDI-114:
----------------------------------------
locally yes but in term of lifecycle not sure since xwiki is dynamic it needs to control
what was injected before to be able to update which is not in Spring/Guice/CDI as basic
features (always done through proxies and as an internal bean impl). So concretely if you
do the hierarchic solution with a custom BeanManagerAggregator then you are fine and
replaced the Map from your manager but you still need a dynamic runtime design "by
design" which intends to breaks the startup validation and runtime safety.
(that's what i meant)
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)