[cdi-dev] [JBoss JIRA] (CDI-157) Enabling/Disabling Extensions

Mark Struberg (JIRA) jira-events at lists.jboss.org
Fri Sep 14 13:18:33 EDT 2012


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

Mark Struberg commented on CDI-157:
-----------------------------------

for each Extension class there will only be a single Extension loaded. The highest ordinal defines the configuration. In our case now it's only enabled = true or false. But I could even imagine to introduce parameters for initializing Extensions in beans.xml.
                
> Enabling/Disabling Extensions
> -----------------------------
>
>                 Key: CDI-157
>                 URL: https://issues.jboss.org/browse/CDI-157
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>             Fix For: 1.1 (Proposed)
>
>
> Typically an extension class is packaged in a jar, along with a META-INF/services/javax.enterprise.inject.spi.Extension file which enables it. However, this means that an application, or another extension, has no way of disabling extensions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list