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

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Sep 5 11:56:33 EDT 2012


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

Pete Muir commented on CDI-157:
-------------------------------

One option is to add a ProcessExtension event, which has a veto method, which may be used to nuke another extension.
                
> 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