[
https://issues.jboss.org/browse/CDI-114?page=com.atlassian.jira.plugin.sy...
]
Cloves Almeida commented on CDI-114:
------------------------------------
Yes, but as a scripting language where the class can be updated without
redeployment/restart. Guys at JBoss have been doing some JRuby/Weld integration
(
http://bit.ly/fz4Bgq) Yet, it does not allow a JRuby class act as a managed bean among
other features. Their use case was fast front-end development cycle.
Adding a bit of dynamic behavior through a SPI wouldn't hurt the spirit of CDI as much
as the inclusion of the Reflection API didn't make Java developers overuse unsafe
invocations.
Anyway, it sounds hard to implement and maybe should be first implemented as an extension
to Weld before becoming part of the spec.
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.
For more information on JIRA, see:
http://www.atlassian.com/software/jira