[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-336) Provide addAsServiceProvider overload that supports String

Davide D'Alto (Commented) (JIRA) jira-events at lists.jboss.org
Fri Dec 16 17:10:09 EST 2011


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

Davide D'Alto commented on SHRINKWRAP-336:
------------------------------------------

Pull request: https://github.com/shrinkwrap/shrinkwrap/pull/47
                
> Provide addAsServiceProvider overload that supports String
> ----------------------------------------------------------
>
>                 Key: SHRINKWRAP-336
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-336
>             Project: ShrinkWrap
>          Issue Type: Feature Request
>          Components: api
>    Affects Versions: 1.0.0-beta-6
>            Reporter: Aslak Knutsen
>
> In some cases you want to package ServiceProviderInterfaces to might not be available/loadable at package time.
> This only work if CDI API is on client path
> {code}
> .addAsServiceProvider(Extension.class, CDIExtension.class);
> {code}
> A possible overload could be:
> {code}
> .addAsServiceProvider("javax.enterprise.inject.spi.Extension", "my.cdi.CDIExtension");
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list