[cdi-dev] [JBoss JIRA] (CDI-114) Allow registration of beans at runtime

Mark Struberg (JIRA) issues at jboss.org
Mon Feb 20 01:31:00 EST 2017


    [ https://issues.jboss.org/browse/CDI-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13365831#comment-13365831 ] 

Mark Struberg commented on CDI-114:
-----------------------------------

[~atijms] That is totally up to the container. It's simply not defined, so you cannot be sure.

[~vmassol] I see. So you allow that your users upload some jar which you then dynamically add to you Classpath?
Or how does the XWiki container become aware of that new functionality?
Does XWiki use OSGi (which would be suited for such a dynamic reload)? 
Or do you roll your own ClassLoader system?

> 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