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

Jason Porter (JIRA) jira-events at lists.jboss.org
Fri Sep 14 11:48:32 EDT 2012


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

Jason Porter commented on CDI-157:
----------------------------------

I like the idea of having it in the beans.xml honestly. It would allow you to exclude an extension from being executed for an archive, it would allow for easier running or excluding of extensions from CDI 1.0 in a CDI 1.1 runtime.
                
> 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