[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-336) Provide addAsServiceProvider overload that supports String
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Mon Apr 2 21:33:47 EDT 2012
[ https://issues.jboss.org/browse/SHRINKWRAP-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger closed SHRINKWRAP-336.
--------------------------------------
> 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
> Assignee: Davide D'Alto
> Fix For: 1.0.0-cr-3
>
>
> 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